【Git | error】提醒本地分支没有与远程分支连接

2022-10-07  本文已影响0人  盐果儿

提示: There is no tracking information for the current branch.

解决:

1. 命令中指定远程分支

git pull origin [branchName]

2. Set the local master branch tracks the GitHub master branch as an upstream:

git branch --set-upstream-to=origin/master master

git pull

上一篇 下一篇

猜你喜欢

热点阅读