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

Re: git-fetch will leave a ref pointing to a tag

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:19

Johannes Schindelin [off-list ref] writes:
Hi,

On Mon, 2 Jul 2007, linux@horizon.com wrote:
quoted
$ git branch temp tags/v2.6.22-rc6
$ git fetch . tags/v2.6.22-rc7:temp
...
No. It is perfectly sane to fetch a tag, and to store it.
Yes, but not to a branch.

Anything under refs/heads/ should point at a commit and if we
allowed a tag to be pointed at, you probably can argue that is a
bug.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help