Created
January 6, 2011 15:57
-
-
Save miaout17/768068 to your computer and use it in GitHub Desktop.
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
git clone -u /home2/username/bin/git-upload-pack [email protected]:~/repo/$1 | |
cd $1 | |
repo-config $1 |
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
git remote add origin [email protected]:~/repo/$1 | |
git config remote.origin.uploadpack '/home2/username/bin/git-upload-pack' | |
git config remote.origin.receivepack '/home2/username/bin/git-receive-pack' |
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
ssh [email protected] "mkdir ~/repo/$1; ~/bin/git init --bare ~/repo/$1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment