开发者

Committing failed from Egit eclipse

I am trying to commit my stuff to github from eclipse on ubuntu. But I get the message:

Committing changes has encountered a problem. 
Committing failed
Prepairing trees /var/www/project/public/.h开发者_运维问答taccess.save (permission denied)

I don't know how to solve this problem.

Can anyone help me?


It seems a simple Access Right issue, as seen in other instances.
Maybe .htaccess.save is part of your Git repository, while in fact it shouldn't?
If that is the case, you could

  • first git rm it (after saving it), and commit a new revision without that directory
  • add the directory to your .gitignore file
  • restore the .htaccess.save directory.
  • try to push to GitHub.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜