[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Git transition workflow
From: |
Sergey Organov |
Subject: |
Re: Git transition workflow |
Date: |
Wed, 13 Aug 2014 14:30:04 +0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
"Stephen J. Turnbull" <address@hidden> writes:
> Achim Gratz writes:
> > Jan Nieuwenhuizen writes:
> > > Daily work
> > > If you’re using the command-line:
> > >
> > > git pull
> > >
> > > May I suggest to change this to
> > >
> > > git pull --rebase / git pull -r
> > >
> > > or we're going to see a whole lot of merge commits.
>
> This requires people who don't already know how to "git rebase" to
> learn it (I mean the resolution workflow, not the command, of course).
> It will get a lot of pushback, and I expect that those users will
> revert to "git pull". On the other hand, merge conflicts are familiar
> from ancient times, and doesn't require learning a new workflow.
1. CVS in fact does the rebase when you "cvs update" with local
modifications, so functionally 'git pull --rebase' is closer to
original CVS "cvs update" than 'git pull --rebase=false' (i.e.,
merge).
2. When there is no merge conflicts, everything just works in both cases
without user intervention.
3. Merge conflicts, if any, as well as their resolution, are very
similar in both workflows. The only difference is that one needs to
learn to use "git rebase --continue" instead of "git commit" after
conflicts are resolved.
4. Setting "pull.rebase" configuration value to 'preserve' or 'true'
hides pull invocation differences (minor convenience).
>From within emacs, magit helps a lot (with any workflow).
--
Sergey.
- Git transition workflow, (continued)
- Re: Git transition workflow, Richard Stallman, 2014/08/11
- Re: Git transition workflow, Rüdiger Sonderfeld, 2014/08/12
- Re: Git transition workflow, Jan Nieuwenhuizen, 2014/08/12
- Re: Git transition workflow, Achim Gratz, 2014/08/12
- Re: Git transition workflow, Stephen J. Turnbull, 2014/08/13
- Re: Git transition workflow, Ashton Kemerling, 2014/08/13
- Re: Git transition workflow,
Sergey Organov <=
- Re: Git transition workflow, Stefan Monnier, 2014/08/13
- Re: Git transition workflow, Sergey Organov, 2014/08/13
- Re: Git transition workflow, Stefan Monnier, 2014/08/13
- Re: Git transition workflow, David Caldwell, 2014/08/13
- Re: Git transition workflow, Stephen J. Turnbull, 2014/08/13
- Re: Git transition workflow, John Yates, 2014/08/13
- Re: Git transition workflow, Stephen J. Turnbull, 2014/08/13
- Re: Git transition workflow, Achim Gratz, 2014/08/13
- Re: Git transition workflow, Stephen J. Turnbull, 2014/08/13
- Re: Git transition workflow, Sergey Organov, 2014/08/13