SIGN IN SIGN UP

Clarify git commit restrictions for local vs web Claude Code (#252)

## Summary

Updated the CLAUDE.md guidance to clarify that the restriction on adding
files to git and committing applies only to local interactive Claude
Code sessions, not to Claude Code on the web where committing and
pushing changes is part of the expected workflow.

## Changes

- Expanded the git commit restriction note to distinguish between local
development environments and the managed remote execution environment
(Claude Code on the web)
- Clarified that committing and pushing changes to the designated branch
is expected behavior in the web-based Claude Code environment

## Details

This change removes ambiguity in the development guidelines by
explicitly stating that the "never commit yourself" rule is specific to
local interactive Claude Code sessions running on the user's own
machine, while acknowledging that the web-based Claude Code environment
has different expectations where commits and pushes are part of the
normal workflow.

https://claude.ai/code/session_01QdUs46nC48Q9senf85NSDc

Co-authored-by: Claude <noreply@anthropic.com>
J
Jan Curn committed
d78af0e4891ca49c89520a77c74c99eddfdb7622
Parent: 1eeea6b
Committed by GitHub <noreply@github.com> on 5/30/2026, 8:03:31 PM