On Tue, Oct 13, 2015 at 02:11:30AM -0700, nmh wrote: > I cloned a git repository. > I made some changes. I could see changes in git diff all okay. > I did git commit -a and git review. > > I got one commit id and could see my patch submitted in gerrit. > > -------------------------------------------------------------------------------------------------------- > > Now git status in my local directory says > git status > On branch bug/1777879 > nothing to commit, working directory clean > > Now i worked on review comments made some changes to few files. > > git status shows newly changed files. > > I want that the patch i am going to submit should show the files from prev > commit and the > changed files from this commit. > > e.g a,b,c,d (Files in commit 1) > d -> d' (in review rework) > > i want my patch to consist of - a, b,c,d' > > > so I did > > git commit --amend this time (Purpose is to submit a patch to earlier > commit- is it right to do it this way ?) > git review > > > is this right ? > ----------------------------------------------------------------------------
This is a mailing list for git users... I'm sure there are quite a few gerrit users here too, but if I were you I'd post this on some gerrit mailing list instead. I suspect you'll have more luck with getting good answers there. /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: mag...@therning.org jabber: mag...@therning.org twitter: magthe http://therning.org/magnus As far as the laws of mathematics refer to reality, they are not certain, and as far as they are certain, they do not refer to reality. -- Albert Einstein -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: PGP signature