I do the following...


            git add file1.c
            git commit file1.c
            git push review

            git add file2.c
            git commit file2.c
            git push review

            git add file3.c
            git commit file3.c
            git push review

I then realize I made a mistake in file1.c so...

            -- make the change
            git add file1.c
            git commit --amend file1.c

However, the comment message I see when I do the commit is
from the commit of file3.c. Is this okay? Or did I do something
wrong? I've noticed there's a -C option that indicates to pick
up information from a previous commit. Is that what should be
used?


_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to