oh-my-git/levels/bottom-up/ref-move/description

6 lines
204 B
Text
Raw Normal View History

2020-09-15 22:35:14 +02:00
You can point refs to a new location using the same command you use to create them:
git update-ref refs/<refname> <object>
As an exercise, make all refs in this repository point to the tree object!