But suppose some file has some penguin changes and some foozle changes?
The add command has an interactive mode
In this mode, it prompts you about each changed chunk of the file in turn
You indicate which chunks you want added to the index version
Afterwards, a commit will commit only the indexed changes
And git diff will show the unindexed changes
|Next||Copyright © 2010 M. J. Dominus|