F
F
fourthMAN2021-06-09 18:26:08
git
fourthMAN, 2021-06-09 18:26:08

How to create a branch [email protected]#%=]! in git?

How to create a branch [email protected]#%=]! in git?

Do I think correctly that the branch with the name [email protected]#%=]!
cannot be created because the dash is an indication of the parameters?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lynn "Coffee Man", 2021-06-09
@Lynn

Well have fun

$ git update-ref 'refs/heads/[email protected]!' @^{commit}
$ git switch -- '[email protected]!'
Switched to branch '[email protected]!'
$ git branch -v
* [email protected]! 734a4af Docker
  master      734a4af Docker

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question