Git server (bare repositories)
- Have a SSH service working
- Install git for windows as normal
Set default shell for ssh to Git bash
PS C:\Users\Administrador> New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Program Files\Git\bin\bash.exe" -PropertyType String -Force
- Create a repo with
git init --bare repo.git
at$HOME
- Clone it from another machine.