开发者

Committing failed from Egit eclipse

开发者 https://www.devze.com 2023-01-03 19:11 出处:网络
I am trying to commit my stuff to github from eclipse on ubuntu. But I get the message: Committing changes has encountered a problem.

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

精彩评论

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

关注公众号