Thread (25 messages) flat view 25 messages, 8 authors, 2016-06-15

defaults for where to merge from

From: Paolo Bonzini <hidden>
Date: 2016-06-15 22:42:57

As can be seen from my other messages, I'm experimenting a little with 
git and trying to understand how its workflow compares with arch.  Right 
now, my procedure for branching off a remote archive is:

   git checkout -b branchname remote/upstreambranch
   git config --add branch.branchname.remote remote
   git config --add branch.branchname.merge refs/heads/upstreambranch

Is there a reason why "git branch" and "git checkout -b" should not 
automatically do the two "git-config --add"s when the source branch is 
remote?

In case the source branch is not remote, would "origin" be a good choice 
for the "branch.branchname.remote" variable?

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