After cloning a git repository using
git clone https://github.com/********/****.git
I just tried to push something into the same git repo, but it shows:
fatal: Not a git repository (or any of the parent directories): .git
How can I fix this?
After cloning a git repository using
git clone https://github.com/********/****.git
I just tried to push something into the same git repo, but it shows:
fatal: Not a git repository (or any of the parent directories): .git
How can I fix this?
You probably forgot to switch to the project directory after pulling the project.
$> cd PATH_TO_YOUR_PROJECT_DIR
can solve your problem.
Either you forgot to switch to the project directory or the clone process was not successful. Please check carefully.