> Further questions about staging area:
> 
> If I do this:
> 
>     (1)  Edit file xyzzy.txt
>     (2)  git add xyzzy.txt
>     (3)  More edits to xyzzy.txt
>     (4)  git commit
> 
> Then does only the first set of edits to xyzzy.txt get committed, or
> do both edits (1) and (3) get committed?

Only changes from step 1 are committed. After adding changes from step 1 to 
staging area then making more changes, a status looks like this:

Changes to be committed:
        modified:   index.js

Changes not staged for commit:
        modified:   index.js



_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to