我还在学习编程的黑暗艺术。我在编程方面还可以,但现在我在将其拉入 Engine Yard 之前努力将其推送到 Github。
我进行了更改,git 看到了更改,但是当我提交时,我收到以下错误:
Command failed: git commit -m Updates
fatal: could not open '.git/COMMIT_EDITMSG': Permission denied
或者,当我尝试更改分支时,我得到:
error: Your local changes to the following files would be overwritten by checkout:
app/views/shared/_footer.html.erb
app/views/plans/index.html.erb
Please, commit your changes or stash them before you can switch branches.
Aborting
我不能承诺,然后我回到第一方。
我用谷歌搜索了它,但不是很明白答案。