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.
精彩评论