Criei a pasta Ana
Logo em seguida fiz um git clone :
Fabiana Faria@DESKTOP-94IH4LN MINGW64 /c/git/ana $ git clone C:/Git/servidor/ Cloning into 'servidor'... warning: You appear to have cloned an empty repository. done.
Entrei na pasta ana e utilizei o seguinte comando:
git remote fatal: not a git repository (or any of the parent directories): .git
Em seguinda entrei na pasta alura (onde fica a master)
Fabiana Faria@DESKTOP-94IH4LN MINGW64 /c/git/alura (master) $ git push local master Enumerating objects: 9, done. Counting objects: 100% (9/9), done. Delta compression using up to 8 threads Compressing objects: 100% (6/6), done. Writing objects: 100% (9/9), 885 bytes | 885.00 KiB/s, done. Total 9 (delta 1), reused 0 (delta 0) To C:/Git/servidor/
- [new branch] master -> master
Entrei na pasta /c/git/ana
utilizei ls
Fabiana Faria@DESKTOP-94IH4LN MINGW64 /c/git/ana $ ls servidor/
Depois utilizei o git remote
Fabiana Faria@DESKTOP-94IH4LN MINGW64 /c/git/ana $ git remote fatal: not a git repository (or any of the parent directories): .git
teria que iniciar a pasta ana? Não tem essa parte