Created
January 31, 2013 21:03
-
-
Save jtarleton/4686416 to your computer and use it in GitHub Desktop.
Initialize a local git repo, push to master branch of the "origin" repo on a remote server
This file contains hidden or 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
mkdir prj1 | |
cd prj1 | |
git init | |
touch README | |
git add . | |
git commit -m "Added blank readme" | |
git remote add origin git@server:prj1.git | |
git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment