0

I'm using GitHub desktop and I have no problem until I try to make a new pull request or sync a branch.
When I write git stage I receive:

Not a git repository (or any of the parent directories): .git

But I have the git folder in the repository. I tried to clone again the repository. Thanks for your help.

Yash Karanke
  • 764
  • 1
  • 15
  • 29
joaquin
  • 1
  • 2

1 Answers1

0

You should not run git commands in the .git directory. Instead, you must run them in the parent directory of the .git directory.

Code-Apprentice
  • 81,660
  • 23
  • 145
  • 268