Git bug help me please

Asked

Viewed 579 times

0

All the commands I give in git on my linux appears this error and I can’t finish the job please help me how to solve

root@joao-pc:/home/joao# git status
fatal: Not a git repository (or any of the parent directories): .git
root@joao-pc:/home/joao# git push
fatal: Not a git repository (or any of the parent directories): .git
root@joao-pc:/home/joao# git pull
fatal: Not a git repository (or any of the parent directories): .git

1 answer

3


When you use the command git clone <url> a folder is created with the same name as the project present on the server. You can only use the commands from git inside this folder or pointing to it. Your mistake is because you are using the commands outside the folder. There are several web tutorials teaching steps on how to work with git, recommend to you to study a little about. Below I leave a simple tutorial link:

http://rogerdudler.github.io/git-guide/index.pt_BR.html

  • Thank you, man. I’m going to search here to see if I can solve this problem.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.