Created
March 6, 2012 22:09
-
-
Save albohlabs/1989322 to your computer and use it in GitHub Desktop.
CLI: gitosis
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
# initial new git | |
git clone [email protected]:gitosis-admin.git | |
git push | |
# add to server | |
git remote add origin [email protected]:bsad.git | |
git push origin master | |
# edit gitosis.conf | |
[group MY_PROJECT] | |
members = vince@urbanpuddle | |
writable = myrailsapp | |
# upload to server | |
git commit -a -m "created a new repository!" | |
git push | |
# create project | |
mkdir MY_PROJECT | |
cd MY_PROJECT | |
# Designate the server as a remote repository | |
git remote add origin git@83.169.20.139:MY_PROJECT.git | |
# Add files and commit! | |
git add . | |
git commit -a -m "initial import" | |
git push origin master:refs/heads/master | |
# test | |
git clone [email protected]:MY_PROJECT.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment