每当我做一个git pull时,它会给我一个错误:
Please, commit your changes or stash them before you can merge.
我尝试过git stash和the suggestions on this stackoverflow page但他们没有帮助
答案 0 :(得分:1)
第一个建议"提交更改"应该工作,也许你忘了先运行" git add -A"在做之前" git commit -m'提交消息'"?
答案 1 :(得分:0)
我建议您查看此资源Github Guide
git add . // Adds all your unstaged files
git commit -m "message in here" // Commits your files and adds a message
git push // Pushes your commit to the repo