Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

fatal: this operation must be run in a work tree

alan in /media/Projetos/servidor at fox ❯ git init --bare Initialized empty Git repository in /media/Projetos/servidor/ fatal: this operation must be run in a work tree

Matricule-se agora e aproveite até 50% OFF

O maior desconto do ano para você evoluir com a maior escola de tecnologia

QUERO APROVEITAR
1 resposta
solução!

Já vi o que tinha feito de errado, estava faltando executar o git init antes.