The current branch is not configured for pull

The current branch is not configured for pull
No value for key branch.master.merge found in configuration

今天新建項目在pull的時候碰見這個錯誤,
錯誤信息中得出是沒有key爲:branch.master.merge的值存在,
pull操作的時候必須要有:
branch.master.merge=refs/heads/master
branch.master.remote=origin

這兩個屬性的存在,在配置文件中添加就行了。
或者在Eclipse的配置中也是可以添加的。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章