3 ms·
Cheatsheet for continuing work when Github is down: 1) ssh myserver.com 2) adduser git 3) sudo su git 4) cd $HOME 5) mkdir .ssh 6) Add
by augustl 14y ago
Cheatsheet for continuing work when Github is down:
1) ssh myserver.com
2) adduser git
3) sudo su git
4) cd $HOME
5) mkdir .ssh
6) Add people's public keys to .ssh/authorized_keys (in /home/git)
7) git init --bare myrepo.git
8) Push and pull to git@myserver.com:myrepo.git
Voila!