Created
August 4, 2013 19:21
-
-
Save emaillenin/6151576 to your computer and use it in GitHub Desktop.
Creating a remote git repository
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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://[email protected]/git-repo-dir/repo-name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment