Re: how do I exclude a commit from set of commits to be pushed.
- From
- Eric Raible <raible@gmail.com>
- Date
- Jul 6, 2010, 19:04 UTC
- Message-ID
- <loom.20100706T205232-421@post.gmane.org>
- In-Reply-To
- <201007032239.44639.johan@herland.net>
Johan Herland <johan <at> herland.net> writes:
Show 6 quoted lines
> > On Saturday 03 July 2010, Mahesh Vaidya wrote: > > git rebase -i $1 && git commit --amend && git rebase --continue > > You would need to do "$1^" instead of $1, since 'rebase' works on all > commits _since_ the given commit (i.e. not including the given commit)....
The above will suffice if you just want to change the commit message. If you want to change file contents you'll need a 'git add' as well.