當我的Git的狀態,我得到這個錯誤信息:混帳 - 奇怪的分支合併錯誤我不知道如何解決
# On branch master
# Your branch and 'origin/master' have diverged,
# and have 1 and 2 different commits each, respectively.
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# .gitignore
nothing added to commit but untracked files present (use "git add" to track)
所以我不能拉或推。當我拉我得到這個:
macoss-MacBook-Pro-10:Marketing owner12$ git pull origin master
Password for 'https://[email protected]':
From https://bitbucket.org/genadinik/marketing
* branch master -> FETCH_HEAD
error: The following untracked working tree files would be overwritten by merge:
.DS_Store
Please move or remove them before you can merge.
Aborting
我能做些什麼來解決這個問題? 謝謝!
更改了標籤,因爲這個問題與所有5個標籤沒有任何關係。 – borrrden