Skip to content

Instantly share code, notes, and snippets.

View td0's full-sized avatar
🚝

Tadho td0

🚝
View GitHub Profile
@td0
td0 / commiting git
Last active February 21, 2016 13:02
commiting git
…or create a new repository on the command line
echo "# aa" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/td0/aa.git
git push -u origin master
…or push an existing repository from the command line
git remote add origin https://github.com/td0/aa.git