git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: how do I exclude a commit from set of commits to be pushed.

From
MVMahesh 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
Previous: Johan HerlandNext: Johan Herland
Message 3 of 5 in “how do I exclude a commit from set of commits to be pushed.”
  1. Mahesh VaidyaJul 3, 2010
  2. Johan HerlandJul 3, 2010
  3. Mahesh VaidyaJul 3, 2010
  4. Johan HerlandJul 3, 2010
  5. Eric RaibleJul 6, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.