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

how to combine 2 commits?

From
BLbill lam <cbill.lam@gmail.com>
Date
Jan 13, 2009, 04:54 UTC
Message-ID
<20090113045422.GA6940@b2j>

Sorry I don't know the correct git terminology for it. I make some changes to scripts but also accidentally changed all scripts to use dos linefeed. Failed to notice this and commit all changes. Then I tried to correct it by changing all scripts back to unix linefeed and commit again.

How to combine these 2 commits so that the changes of linefeed cancel out each other and the history only shows the intended changes of the few scripts.

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩234 李白  怨情
    美人捲珠簾  深坐蹙蛾眉  但見淚痕濕  不知心恨誰
Next: Jeff Whiteside
Message 1 of 9 in “how to combine 2 commits?”
  1. bill lamJan 13, 2009
  2. Jeff WhitesideJan 13, 2009
  3. Boyd Stephen Smith Jr.Jan 13, 2009
  4. Imran M YousufJan 13, 2009
  5. bill lamJan 13, 2009
  6. Stephen R. van den BergJan 13, 2009
  7. Sitaram ChamartyJan 13, 2009
  8. Matthieu MoyJan 13, 2009
  9. Sitaram ChamartyJan 13, 2009

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.