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 [email protected] ‘mkdir /home/user/repos/new_repo.git && cd $_ && git init --bare’ > git clone [email protected]:/home/user/repos/new_repo.git
Or if you want some basic configuration, like user management and repo creation. Use something lightweight like gitolite