Re: Pack several linear commits into one

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Jacob Kroon" <jacob.kroon@xxxxxxxxx> writes:

> Is there a tool for repacking several linear commits into one single ?

You can use either "git rebase --interactive" and replace 'pick' with
'squash', or (simpler for replacing all the commits by one big commit)
"git merge --squash". See documentation for details.

Note that if you want remove those 'several linear commits', you
better not have them published yet.

> Please CC me since I'm not a subscriber to the list.

You can read this list via archives, or using NNTP interface (in news
reader):

  nntp://news.gmane.org/gmane.comp.version-control.git

-- 
Jakub Narebski
ShadeHawk on #git
Poland
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux