cb50f224945ae358c4b0ac2cf01d0ebbdda9cf6d
coding/git.md
| ... | ... | @@ -41,6 +41,17 @@ compare diff between two commits |
| 41 | 41 | git diff <commit>...<commit> |
| 42 | 42 | ``` |
| 43 | 43 | |
| 44 | +stash |
|
| 45 | +``` |
|
| 46 | +git stash |
|
| 47 | +git stash show |
|
| 48 | +``` |
|
| 49 | + |
|
| 50 | +unstash |
|
| 51 | +``` |
|
| 52 | +git stash pop |
|
| 53 | +``` |
|
| 54 | + |
|
| 44 | 55 | ## using `hub` |
| 45 | 56 | ### pull requests |
| 46 | 57 | ``` |