Is there any way to incrementally build commit messages in git? -
i'm wondering if possible build git commit messages incrementally, documenting i'm doing make code changes:
- check out , begin work
- enter commit message title (i.e. summary)
- make code change
- update commit message describe change
- repeat 3 , 4 until commit ready
is there mechanism built git this?
git commit
can take commit message file using -f
option. so, can this:
# work $ echo 'did work' > commit-msg.txt # more work $ echo 'did more work' >> commit-msg.txt $ git commit -f commit-msg.txt
Comments
Post a Comment