git clone https://github.com/[my_user_name]/[repository_name]
git checkout -b [branch_name]
git push -u origin [branch_name]
git checkout -b [test_branch_name] master
git pull [URL] [repository_name]
git checkout master
git merge [test_branch_name]
git push origin master
git branch -d [test_branch_name]
git stash save 'message'
(stash以降は省略可能)git stash list
git stash list -p
git stash apply stash@{0}
git stash pop@{0}
git stash drop [stash_name]
git stash clear
https://git-scm.com/book/ja/v1/Git-%E3%81%AE%E3%81%95%E3%81%BE%E3%81%96%E3%81%BE%E3%81%AA%E3%83%84%E3%83%BC%E3%83%AB-%E3%82%B5%E3%83%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB
git submodule {add}
git clone {url}
git submodule init
git submodule update
git branch -d [branch_name]
git checkout -b [branch_name]
git reset --soft HEAD~
git reset --head HEAD~
```
$ cd ~/.ssh
$ ssh-keygen -t rsa -C test@example.com
$ chmod 600 id_rsa
$ emacs ~/.ssh/config
```
```
Host github
HostName github.com
IdentityFile ~/.ssh/id_rsa
User git
```
$ pbcopy < ~/.ssh/id_rsa.pub
$ ssh -T git@github.com
(NG) url = https://github.com/{account_name}/{repository_name}.git (OK) url = git@github.com:{account_name}/{repository_name}.git