Re: how do I exclude a commit from set of commits to be pushed.
- From
- Mahesh Vaidya <forvaidya@gmail.com>
- Date
- Jul 3, 2010, 17:37 UTC
- Message-ID
- <AANLkTimmCdCn1dkbogdVqzPBMeGQDNEesM8zdarFL_wv@mail.gmail.com>
- In-Reply-To
- <201007031804.33350.johan@herland.net>
Hi
Thank for the pointer; Do you think following scriptlet is good for modifying specific commit ? and do edit.
cat ./modify_specific.sh git rebase -i $1 && git commit --amend && git rebase --continue
Thank you in advance -Mahesh
Show 5 quoted lines
> You probably want to squash C5 into C4. Look up 'git rebase --interactive', > and the 'squash' instruction. A good intro can be found at either > http://book.git-scm.com/4_interactive_rebasing.html or > http://progit.org/book/ch6-4.html >
Show 11 quoted lines
> > You may want to read the entire Pro Git book ( http://progit.org/book/ ) to > get a firm grip on the Git object model. > > > ...Johan > > -- > Johan Herland, <johan@herland.net> > www.herland.net >
-- Thank you and best regards. Mahesh Vaidya / 9740500144 http://www.twitter.com/forvaidya