git update-ref

git update-ref命令用于更新一个指针文件中的Git对象ID。

  1. $ git update-ref refs/heads/master 107aff