[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: merging emacs-24
From: |
David Engster |
Subject: |
Re: merging emacs-24 |
Date: |
Thu, 27 Nov 2014 18:32:54 +0100 |
User-agent: |
Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.91 (gnu/linux) |
Ted Zlatanov writes:
> I don't think Git merges can work that way, though. They bring in the
> whole branch, you can't exclude some commits.
You cannot exclude them, but you can merge them with merge strategy
'ours'. That's what gitmerge.el does.
> You have to either cherry-pick the ones you want instead of merging,
Which defies the point of merging, of course.
> or revert the ones you don't want after merging.
That's cumbersome when those commits have conflicts, which is very
common since it is often the reason they should be skipped in the first
place.
> I can't believe I did that. Sorry. It's not harmful, but I was
> careless. I've now added this alias to my gitconfig:
I think the easiest way to avoid this is to merge the remote branch
instead of the local tracking one.
-David
- Re: merging emacs-24, (continued)
- Re: merging emacs-24, Eli Zaretskii, 2014/11/27
- Re: merging emacs-24, Andreas Schwab, 2014/11/27
- Re: merging emacs-24, Eli Zaretskii, 2014/11/27
- Re: merging emacs-24, Andreas Schwab, 2014/11/27
- Re: merging emacs-24, Eli Zaretskii, 2014/11/27
- Re: merging emacs-24, Andreas Schwab, 2014/11/28
- Re: merging emacs-24, Eli Zaretskii, 2014/11/28
- Re: merging emacs-24, Sergey Organov, 2014/11/28
- Re: merging emacs-24, David Kastrup, 2014/11/28
- Re: merging emacs-24, Stefan Monnier, 2014/11/27
- Re: merging emacs-24,
David Engster <=
- Re: merging emacs-24, Andreas Schwab, 2014/11/27
- Re: merging emacs-24, Ted Zlatanov, 2014/11/27
- Re: merging emacs-24, Stephen J. Turnbull, 2014/11/27
- Re: merging emacs-24, Stephen J. Turnbull, 2014/11/27
- Re: merging emacs-24, Eli Zaretskii, 2014/11/28
- Re: merging emacs-24, Ted Zlatanov, 2014/11/27
- Re: merging emacs-24, Andreas Schwab, 2014/11/28
- Re: merging emacs-24, Eli Zaretskii, 2014/11/28
- Re: merging emacs-24, Stefan Monnier, 2014/11/28
- Re: merging emacs-24, Glenn Morris, 2014/11/29