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

Re: BUG: For first push to a bare repo, using "--tags" prevents creation of master branch

From: Matthieu Moy <hidden>
Date: 2016-06-15 23:05:03

Junio C Hamano [off-list ref] writes:
I recall "fetch --tags" was updated to become your "--tags-also" by
e66ef7ae (Merge branch 'mh/fetch-tags-in-addition-to-normal-refs',
2013-12-12).  Perhaps we should do the same on the push side.
Would we still have a way to push tags only with this?

fetch and push are a bit different: it's almost never a bad idea to run
fetch (I see remote-tracking as a kind of cache, and fetch is the way to
refresh this cache), but pushing too much can be harmful. Not a strong
objection, but I'm not sure that this change is 100% safe for everyone.

-- 
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