I have a git repository linked to a dropbox folder. Recently, I have switched my laptop to another, and now i can not perform the function "git commit -am". I keep getting this error message: "could not open '.git/COMMIT_EDITMSG': Permission denied.
Any ideas?
Thanks, Liron
Assuming you're on a Windows machine, the chances are that you modified a hidden file and no longer have write permissions to the hidden file.
To solve this, simply navigate to your .git folder and delete the "COMMIT_EDITMSG" file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With