Thread (1 message) 1 message, 1 author, 2016-06-15

Re: "git pull REMOTE" question

From: Miles Bader <hidden>
Date: 2016-06-15 22:43:30

Junio C Hamano [off-list ref] writes:
quoted
Is there a way to set things up so that "git pull REMOTE"
automatically merges fetched branches when doing a non-default pull?
The branch to be merged currently is determined per branch.
You can just say "git pull usb master".
Right, but what I'm asking is whether there is (or should be) a way to
automatically supply the "master", so I can just type "git pull usb" and
have it do the right thing -- as there obviously is for the "origin"
remote for this branch.

This apparent association of each local branch with a single remote
seems slightly odd to me -- isn't it quite common for people to pull
from various different remotes into the same local branch (e.g. for
someone merging from the repositories of various regular contributors)?

Thanks,

-Miles

-- 
Do not taunt Happy Fun Ball.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help