Search code examples
gitbitbuckettortoisegit

TortoiseGit fatal : can not hash , permission error


Whenever I switch to a new branch some of my file permissions change like this

enter image description here

If I assign permissions here then once I switch again to a new branch, again the permissions change.

  • I tried the revert option to get back without success.
  • I tried using a new clone repository but experienced the same problem ...

Due to this problem I cannot switch to a new branch.

Can any one help me?


Solution

  • First check your branch folder is present inside htdocs if it is there then..If that htdocs folder present inside C: drive will cause permission issue in some computer ...

    Change your xampp installation in some other drive try.. Because in windows system UAC settings may cause this problem