* Pack several linear commits into one
@ 2007-12-03 9:06 Jacob Kroon
2007-12-03 9:28 ` Peter Baumann
2007-12-03 9:32 ` Jakub Narebski
0 siblings, 2 replies; 3+ messages in thread
From: Jacob Kroon @ 2007-12-03 9:06 UTC (permalink / raw)
To: git
Hi,
Is there a tool for repacking several linear commits into one single ?
Please CC me since I'm not a subscriber to the list.
Best Regards
Jacob Kroon
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Pack several linear commits into one
2007-12-03 9:06 Pack several linear commits into one Jacob Kroon
@ 2007-12-03 9:28 ` Peter Baumann
2007-12-03 9:32 ` Jakub Narebski
1 sibling, 0 replies; 3+ messages in thread
From: Peter Baumann @ 2007-12-03 9:28 UTC (permalink / raw)
To: Jacob Kroon; +Cc: git
On Mon, Dec 03, 2007 at 10:06:11AM +0100, Jacob Kroon wrote:
> Hi,
>
> Is there a tool for repacking several linear commits into one single ?
>
> Please CC me since I'm not a subscriber to the list.
>
Look for git merge --squash or git cherry-pick --no-commit
-Peter
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Pack several linear commits into one
2007-12-03 9:06 Pack several linear commits into one Jacob Kroon
2007-12-03 9:28 ` Peter Baumann
@ 2007-12-03 9:32 ` Jakub Narebski
1 sibling, 0 replies; 3+ messages in thread
From: Jakub Narebski @ 2007-12-03 9:32 UTC (permalink / raw)
To: Jacob Kroon; +Cc: git
"Jacob Kroon" <jacob.kroon@gmail.com> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-12-03 9:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-03 9:06 Pack several linear commits into one Jacob Kroon
2007-12-03 9:28 ` Peter Baumann
2007-12-03 9:32 ` Jakub Narebski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).