Created
September 9, 2011 14:33
-
-
Save terrycojones/1206381 to your computer and use it in GitHub Desktop.
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
t61p /tmp/git-test $ git init . | |
Initialized empty Git repository in /tmp/git-test/.git/ | |
t61p /tmp/git-test (master) $ touch README | |
t61p /tmp/git-test (master) $ git add README | |
t61p /tmp/git-test (master) $ git commit -m "First commit" | |
[master (root-commit) eb68fa6] First commit | |
0 files changed, 0 insertions(+), 0 deletions(-) | |
create mode 100644 README | |
t61p /tmp/git-test (master) $ touch README2 | |
t61p /tmp/git-test (master) $ git checkout -b newbranch | |
Switched to a new branch 'newbranch' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment