Git Cheat sheet

Set up an empty server repository and Use it locally On Server For an empty repository $ mkdir /srv/git/my_repository $ cd /srv/git/my_repository $ git init –bare On Server From an Existing repository $ cd /srv/git $ git clone –bare https://github.com/rainbowrun/lim.git lim.git On Client, Initial Change <… Set up SSH access to server as user@server properly […]