[git-users] creating a new commit after rework

2015-10-13 Thread nmh
i did git clone. made some changes. git status shows changed files. did git commit -a git review. (a,b,c,d,e,f)(lets say these are files changed in this commit) all okay. -- Now got some review comments, worked on files e,f

Re: [git-users] creating a new commit after rework

2015-10-13 Thread Gergely Polonkai
I guess what you need is an amended commit: git add e f git commit --amend git review This way your old commit will be replaced with a new one, and thus Gerrit will create a new patch set for you (instead of a new change). Best, Gergely On 13 Oct 2015 11:19, "nmh"