Re: [Openocd-development] git question.....

2011-10-25 Thread Øyvind Harboe
Use interactive rebasing: git rebase --help When you're done rebasing, just type "git push review" and all the updated patches will be updated in gerrit. -- Øyvind Harboe - Can Zylin Consulting help on your project? US toll free 1-866-980-3434 http://www.zylin.com/ _

Re: [Openocd-development] git question.....

2011-10-25 Thread Austin, Alex
rlios.de] On Behalf Of Austin, Alex > Sent: Tuesday, October 25, 2011 8:28 PM > To: jim norris; Openocd-development@lists.berlios.de > Subject: Re: [Openocd-development] git question. > > Does file3 rely on file2, which relies on file1, or are they all > independent? If they

Re: [Openocd-development] git question.....

2011-10-25 Thread Austin, Alex
Does file3 rely on file2, which relies on file1, or are they all independent? If they're a sequence, then git checkout -b temp HEAD~2 git add file1.c git commit --amend git checkout git rebase temp git push review You don't need to do indi

Re: [Openocd-development] git question.....

2011-10-25 Thread Christopher Harvey
On 25/10/11 07:57 PM, jim norris wrote: 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