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

Merging branches

From
Jjhapk <pradeep.kumar.jha@gmail.com>
Date
Jul 13, 2010, 21:28 UTC
Message-ID
<1279056529462-5289861.post@n2.nabble.com>
http://git.661346.n2.nabble.com/file/n5289861/git.jpg git.jpg 
Hi,

I have a git history which looks something like as in the figure above. I want to merge Branch A in Branch B. However, the commits a1, a2 and a3 are ugly and so I don't want those commits in my Branch B log. Is there anyway that I can only pull the final form of Branch A without pulling the whole history of Branch A?

Thanks
-- 
View this message in context: http://git.661346.n2.nabble.com/Merging-branches-tp5289861p5289861.html
Sent from the git mailing list archive at Nabble.com.
Next: Ævar Arnfjörð Bjarmason
Message 1 of 3 in “Merging branches”
  1. jhapkJul 13, 2010
  2. Ævar Arnfjörð BjarmasonJul 13, 2010
  3. Avery PennarunJul 14, 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.