Estou com a seguinte informação no meu git --bare::
luizbastos/Documentos/git-e-github/servidor via ⬢ v12.22.9 …
➜ git init --bare
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Repositório vazio Git inicializado em /home/luizbastos/Documentos/git-e-github/servidor/
Documentos/git-e-github/servidor on master via ⬢ v12.22.9 took 3,6s …
➜ cd ../luizney/
luizney on master …
➜ git status
No ramo master
nothing to commit, working tree clean
luizney on master …
➜ git remote
luizney on master …
➜ git remote add local /home/luizbastos/Alura_One_git/servidor/
luizney on master …
➜ git remote
local
luizney on master …
➜ git remote -v
local /home/luizbastos/Alura_One_git/servidor/ (fetch)
local /home/luizbastos/Alura_One_git/servidor/ (push)
luizney on master …
➜ cd ..
luizbastos/Documentos/git-e-github via ⬢ v12.22.9 …
➜ mkdir ana
luizbastos/Documentos/git-e-github on master [?] via ⬢ v12.22.9 …
➜ cd ana
luizbastos/Documentos/git-e-github/ana on master [?] via ⬢ v12.22.9 …
➜
luizbastos/Documentos/git-e-github/ana on master [?] via ⬢ v12.22.9 …
➜ git clone /home/Documentos/git-github/servidor/ projeto
fatal: repository '/home/Documentos/git-github/servidor/' does not exist
luizbastos/Documentos/git-e-github/ana via ⬢ v12.22.9 …
➜ git clone /home/luizbastos/Alura_One_git/servidor/ projeto
fatal: repository '/home/luizbastos/Alura_One_git/servidor/' does not exist
luizbastos/Documentos/git-e-github/ana on master [?] via ⬢ v12.22.9 …
➜