Hello
I'm getting the following error message when I try to add file(s) using SourceTree.
git -c diff.mnemonicprefix=false -c core.quotepath=false add -f -- readme.txt
warning: LF will be replaced by CRLF in readme.txt.
The file will have its original line endings in your working directory.
error: unable to write sha1 filename .git/objects/1c/18a9e638b2dea1aa7c81bf21900faef855bc0d: Permission denied
error: readme.txt: failed to insert into database
error: unable to index file readme.txt
fatal: adding files failed
I'm using BitBucket and there is a private repository and trying to commit and push.
As a first time user of Git, BitBucket and SourceTree, I might have made a mistake but can't find what the problem is.... Any help or tip would be appreciated.
Many thanks in advance
Jun