読者です 読者をやめる 読者になる 読者になる

git stash 色々

git

git stash apply

git stash -u

git stash list

git stash save "add style to our site"

git stash pop stash@{2}

git stash show

git stash show -p

untracked file = unstaged && new file

ignored file

http://qiita.com/fukajun/items/41288806e4733cb9c342

http://qiita.com/akasakas/items/768c0b563b96f8a9be9d

Changes to be committed:

staged files

Changes not staged for commit:

file which has changes but is unstaged

Untracked files:

new file

default git stash will stash

changes that have been added to your index (staged changes)

changes made to files that are currently tracked by Git (unstaged changes)

will not stash

new files in your working copy that have not yet been staged

files that have been ignored

git stash -u can stash untracked file

https://gyazo.com/cf3b5658c9c78b01fc8650ae60c73f55

git stash -k

stash only unstaged files

git stash -p

hunk command でファイル単位で stash するか決められる

git stash は裏でブランチを切っている?

http://qiita.com/ton1517/items/9888a78f6b063e748558

http://koseki.hatenablog.com/entry/2014/06/11/inside-git-2

tracked - a file which has been previously staged or committed;

untracked - a file which has not been staged or committed; or

ignored - a file which Git has been explicitly told to ignore.

global gitignore

http://qiita.com/anqooqie/items/110957797b3d5280c44f

http://qiita.com/elzup/items/4c92a2abdab56db3fb4e