Skip to content

Instantly share code, notes, and snippets.

@narutaro
Last active March 11, 2016 22:10
Show Gist options
  • Save narutaro/1029dc61213bfdf804d1 to your computer and use it in GitHub Desktop.
Save narutaro/1029dc61213bfdf804d1 to your computer and use it in GitHub Desktop.
Git nutshell

Create a new branch

nac:gtip_docs inoue$ git branch
* master
nac:gtip_docs inoue$ git checkout -b goo
Switched to a new branch 'goo'
nac:gtip_docs inoue$ git branch
* goo
  master

Submodule

git submodule add https://[email protected]/ntti3/gtip-tfi.git tfi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment