Thread (4 messages) 4 messages, 2 authors, 2022-06-10

Re: Best way to update `HEAD` in mirrored repos

From: Johannes Schindelin <hidden>
Date: 2022-06-09 08:02:25

Hi Rodrigo,

On Wed, 8 Jun 2022, Rodrigo Silva Mendoza wrote:
`git remote set-head origin -a`
   Fails with "error: Not a valid ref:
refs/remotes/origin/good_main_3". The ref it fails with is whatever
the remote HEAD is.
The reason is that `set-head` expects options to come before arguments,
like so:

	git remote set-head -a origin

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