draemonash2のメモ書き
git config --global user.name "<user_name>"
git config --global user.email <mail_address>
git config --global core.editor vim
git config --global diff.tool vimdiff
git config --global difftool.prompt false
git config --global merge.tool vimdiff
git config --global mergetool.prompt false
git config --global credential.helper store
言語チートシート参照。


.jpg)
.jpg)






変更内容(○:変更する、×:変更しない)
| モード | HEAD位置 | インデックス | 作業ツリー |
|---|---|---|---|
| hard | ○ | ○ | ○ |
| mixed(デフォルト) | ○ | ○ | × |
| soft | ○ | × | × |


git tab <tagname>)
git tab -a <tagname>)


git clone 時に、github.comの前にトークン識別子@を付与する。
git clone https://org-a-token@github.com/account_name/repo_name.git
~~~~~~~~~~~~
.git-credentialsのstoreヘルパーは、”トークン識別子”(慣習でユーザー名が使われることが多い)毎に保存される。
https://org-a-label:ghp_AAA@github.com
https://org-b-label:ghp_BBB@github.com
.gitignore
.git/info/exclude