Created
April 5, 2011 19:08
-
-
Save YamilG/904288 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
[rails_projects]$ mkdir demo2 | |
[rails_projects]$ cd demo2 | |
[demo2]$ git init | |
Initialized empty Git repository in /Users/yamilgonzales/Dropbox/rails_projects/demo2/.git/ | |
[demo2]$ touch readme | |
[demo2]$ mate readme | |
[demo2]$ mv readme readme.txt | |
[demo2]$ git add . | |
[demo2]$ git commit -m "first commit" | |
[master (root-commit) ffb768a] first commit | |
1 files changed, 1 insertions(+), 0 deletions(-) | |
create mode 100644 readme.txt | |
[demo2]$ git remote add origin https://YamilG@github.com/YamilG/demo2.git | |
[demo2]$ git push origin master | |
Password: | |
Counting objects: 3, done. | |
Writing objects: 100% (3/3), 217 bytes, done. | |
Total 3 (delta 0), reused 0 (delta 0) | |
To https://YamilG@github.com/YamilG/demo2.git | |
* [new branch] master -> master | |
[demo2]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment