Thread (26 messages) 26 messages, 8 authors, 2016-06-15

Re: Pull is Evil

From: Felipe Contreras <hidden>
Date: 2016-06-15 23:00:57

Possibly related (same subject, not in this thread)

brian m. carlson wrote:
At work, we have a workflow where we merge topic branches as
non-fast-forward, so that we have a record of the history (including
who reviewed the code), but when we want to just update our local
branches, we always want fast-forward:

  git checkout maintenance-branch
  # Update our maintenance branch to the latest from the main repo.
  git pull --ff-only
If we make it the default, you only need to type `git pull`.
  git pull --no-ff developer-remote topic-branch
I don't see anything wrong with having to type --no-ff if that's what
you really want.
  git push main-repo HEAD
main-repo/maintenance-branch should be the upstream of
maintenance-branch, in which hase:

% git push

-- 
Felipe Contreras
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help