Just a reminder that as long as you don’t need any kind of platform hosting or complex multi-user setup, git itself works fine on a remote machine as your server, even just on LAN. (As always, just setup an ssh key on the two machines so ssh commands are secure and don’t require passwords all the time)
Just a reminder that as long as you don’t need any kind of platform hosting or complex multi-user setup, git itself works fine on a remote machine as your server, even just on LAN. (As always, just setup an ssh key on the two machines so ssh commands are secure and don’t require passwords all the time)
> cd /my/repos > ssh user@10.x.y.z ‘mkdir /home/user/repos/new_repo.git && cd $_ && git init --bare’ > git clone user@10.x.y.z:/home/user/repos/new_repo.git
Or if you want some basic configuration, like user management and repo creation. Use something lightweight like gitolite