Skip to content

Instantly share code, notes, and snippets.

@emaillenin
Created August 4, 2013 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emaillenin/6151576 to your computer and use it in GitHub Desktop.
Save emaillenin/6151576 to your computer and use it in GitHub Desktop.
Creating a remote git repository
cd git-repo-dir
mkdir repo-name
cd repo-name
git init --bare
cd ..
chown -R gituser:gituser repo-name
/** In Git GUI, add a remote repo with URL as **/
ssh://gituser@servername.com/git-repo-dir/repo-name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment