$ git remote set-head origin some_branch
git 命令笔记
原文:https://www.cnblogs.com/xunzhiyou/p/10568907.html