Created
December 21, 2013 20:11
-
-
Save stephentu/8074313 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
stephentu@peavey:~$ mkdir tester | |
stephentu@peavey:~$ cd tester | |
stephentu@peavey:~/tester$ git init | |
Initialized empty Git repository in /Users/stephentu/tester/.git/ | |
stephentu@peavey:~/tester(master)$ touch foo.c | |
stephentu@peavey:~/tester(master)$ git add foo.c | |
stephentu@peavey:~/tester(master)$ git commit -m 'first commit' | |
[master (root-commit) 3e51a35] first commit | |
0 files changed | |
create mode 100644 foo.c | |
stephentu@peavey:~/tester(master)$ git remote add origin git@github.com:stephentu/tester.git | |
stephentu@peavey:~/tester(master)$ git push -u origin master | |
Counting objects: 3, done. | |
Writing objects: 100% (3/3), 209 bytes, done. | |
Total 3 (delta 0), reused 0 (delta 0) | |
To git@github.com:stephentu/tester.git | |
* [new branch] master -> master | |
Branch master set up to track remote branch master from origin. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment