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

Re: obnoxious CLI complaints

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:47:23

Björn Steinbrink [off-list ref] writes:
On 2009.09.09 14:27:56 -0700, Brendan Miller wrote:
quoted
8. There's no obvious way to make a remote your default push pull
location without editing the git config file. Why not just something
like

git remote setdefault origin
Because "git remote" is the wrong tool. The default remote for
fetch/push is configured per branch head, not globally.
(the --track option of git branch and git checkout can help).

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help