Created
November 24, 2014 19:01
-
-
Save shawndumas/e48ad26569a80f39e151 to your computer and use it in GitHub Desktop.
Create, init, root, README.md, initial, origin, push...
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 init | |
git commit -m 'root commit' --allow-empty | |
touch README.md | |
echo "$(pwd | rev | cut -d"/" -f1 | rev)" >> README.md | |
git add . | |
git commit -m 'initial commit' | |
git remote add origin git@git.corp.yahoo.com:sdumas/$(pwd | rev | cut -d"/" -f1 | rev).git | |
git push -u origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment