📌  相关文章
📜  git set 分支跟踪 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:27.581000             🧑  作者: Mango

代码示例1
# If want to set current local branch upstream
git branch --set-upstream-to=origin/remote-branch-name-here

# If not on the local branch that you want to set
git branch --set-upstream-to=origin/remote-branch-name-here local-branch-name-here