Setup remote repository
On the “remote machine”
$ mkdir git/repo
$ cd git/repo
$ git init --bare
$ git remote add origin /home/gabor/work/test_remote/
git push -u origin main
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
On the “remote machine”
$ mkdir git/repo
$ cd git/repo
$ git init --bare
$ git remote add origin /home/gabor/work/test_remote/
git push -u origin main