
There is no tracking information for the current branch. Please specify which branch you want to merge with. See git-pull(1) for details.
git pull <remote> <branch> If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=<remote>/<branch> xxxx 执行命令 git branch --set-upstream-to=origin/xxxx xxxx
fatal: Not tracking: ambiguous information for ref refs/remotes/origin/xxxx
没有成功 有遇到过这种问题的吗
1 0bject 2019 年 9 月 23 日 远程分支还在吗 |
2 vanishxiaoma OP @0bject 在的直接通过命令 git pull origin 是可以拉去的 |
3 ayonel 2019 年 9 月 23 日 提示里面不是写的很清楚了么。。git branch --set-upstream-to=<remote>/<branch> xxxx |
4 vanishxiaoma OP @ayonel 执行命令 git branch --set-upstream-to=origin/xxxx xxxx 提示 fatal: Not tracking: ambiguous information for ref refs/remotes/origin/xxxx |
5 ayonel 2019 年 9 月 23 日 如果不需要本地分支的话, 1.git brach -d xxxx 将本地分支删除 2.git checkout remotes/origin/xxxx 3. git pull 4. git checkout -b xxxx |