Olá Pessoal,
Eu fiz a clonagem, deu certo, como abaixo: Tereza Soares@Tereza MINGW64 ~/Desktop/Projeto/ana $ git clone ~/Desktop/Projeto/servidor/ projeto Cloning into 'projeto'... warning: You appear to have cloned an empty repository.
done.
Proximo passo, voltei para a pasta principal (Master) que é EstudoGit, fiz um git remote, mas pra surpresa nao mostrou nenhum nome, percebi que não estava criado.
Tereza Soares@Tereza MINGW64 ~/Desktop/Projeto/ana $ cd ../EstudoGit/
Tereza Soares@Tereza MINGW64 ~/Desktop/Projeto/EstudoGit (master) $ git remote
Continuando, percebi que não estava criado o local como no vídeo, fiz o comando pra adicionar e depois na pasta da Ana baixar o projeto, mas obtive isto:
Tereza Soares@Tereza MINGW64 ~/Desktop/Projeto/EstudoGit (master) $ git remote add local usage: git remote add []
-f, --fetch fetch the remote branches
--tags import all tags and associated objects when fetching
or do not fetch any tag at all (--no-tags)
-t, --track <branch> branch(es) to track
-m, --master <branch>
master branch
--mirror[=(push|fetch)]
set up remote as a mirror to push to or fetch from
Tereza Soares@Tereza MINGW64 ~/Desktop/Projeto/EstudoGit (master) $ git remote -v
Tereza Soares@Tereza MINGW64 ~/Desktop/Projeto/EstudoGit (master) $ git status On branch master nothing to commit, working tree clean
Não entendi por que em meu batch não consigo adicionar meu git remote local, alguém poderia, me dar um help?
Abraços.