How to give permissions in Git to perform reset and modifications in merge?

0

I am new programming in git and I am being presented with the following errors:

In the moment of carrying out a Hard Reset

$ git reset --hard 2f9e060
  

error: unable to create file villanos.md: Permission denied fatal:   Could not reset index file to revision '2f9e060'.

And when I'm going to do Merge I get this error

$ git merge rama-nueva
  

error: can not stat 'new.md': Permission denied Updating   62c8a10..2f9e060

If someone can help me solve this mistake, I would be very grateful.

    
asked by Jigoku 23.05.2018 в 04:57
source

0 answers