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 ?

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.

Reply via email to