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

Garanta sua matrícula hoje e ganhe + 2 meses grátis

Continue sua jornada tech com ainda mais tempo para aprender e evoluir

Quero aproveitar agora
1 resposta
solução!

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