Steps to setup remote repository in

1) ssh to ''
2) cd /home/username/git_remote/
3) mkdir remote_repository1.git
4) cd remote_repository1.git
5) git --bare init

Steps to setup local repo and link to above remote repository

1) ssh to
2) cd /home/username/git_local
3) mkdir local_repository1
4) cd local_repository1
5) git init
6) touch README
7) git add README
8) git commit -m 'first commit'
9) git remote add my_remote_repo_server ssh://
10) git push my_remote_repo_server master

This is my finalized steps which I got from link

Related Posts :

Bookmark and Share