关联起来后,可以直接切换到本地分支并执行pull命令

1.command

git config --add branch.localBranch.remote origin

git config --add branch.localBranch.merge refs/heads/remoteBranch

2.直接修改git 配置文件

.git/config

 [branch "master"]

  remote = origin

  merge = refs/heads/master

相关文章:

  • 2021-05-23
  • 2022-12-23
  • 2021-06-27
  • 2022-02-15
  • 2021-12-23
  • 2021-09-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
  • 2022-12-23
  • 2021-12-03
相关资源
相似解决方案