当前分支未配置为配置中找到的键branch.master.merge的拉否值 [英] The current branch is not configured for pull No value for key branch.master.merge found in configuration
问题描述
当前分支未配置为pull
中没有值$ b branch.master.merge在配置中找到
您的本地主分支未设置为跟踪远程主分支。
您可以执行 git pull origin master
来告诉git你想拉的显式分支,或者你添加到你的.git / config:
[branchmaster]
remote = origin
merge = refs / heads / master
当你推主人首次添加 -u
switch( git push -u origin master
)。这将自动设置所有内容。
I get this error when I try to pull from remote repository using Egit team>pull
The current branch is not configured for pull No value for key branch.master.merge found in configuration
Your local master branch is not set up to track remote master branch.
You could do git pull origin master
to tell git the explicit branch you want to pull or you add this to your .git/config:
[branch "master"]
remote = origin
merge = refs/heads/master
When you push to master for the first time, add the -u
switch (git push -u origin master
). This will set everything up automatically.
这篇关于当前分支未配置为配置中找到的键branch.master.merge的拉否值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!