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
sycobuny@valhalla:~/gittest$ git init . | |
Initialized empty Git repository in /home/sycobuny/gittest/.git/ | |
sycobuny@valhalla:~/gittest$ touch first | |
sycobuny@valhalla:~/gittest$ git add first | |
sycobuny@valhalla:~/gittest$ git commit -m "first" | |
[master (root-commit) be18d08] first | |
0 files changed | |
create mode 100644 first | |
sycobuny@valhalla:~/gittest$ git checkout -b branch | |
Switched to a new branch 'branch' |