Skip to content

Commit

Permalink
Internal: Add docs for stash commands
Browse files Browse the repository at this point in the history
  • Loading branch information
stoivo committed Aug 31, 2017
1 parent 8c84e1e commit 01a27ac
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,17 @@ If you run into any issues not addressed here, please feel free to [open an issu
- [git: quick stage current file and fixup](commit.md#git-quick-stage-current-file-and-fixup)


## Stashing

- [git: create stash](stash.md#git-create-stash)
- [git: create stash including untracked files](stash.md#git-create-stash-including-untracked-files)
- [git: create stash of staged changes only](stash.md#git-create-stash-of-staged-changes-only)
- [git: apply stash](stash.md#git-apply-stash)
- [git: pop stash](stash.md#git-pop-stash)
- [git: show stash](stash.md#git-show-stash)
- [git: discard stash](stash.md#git-discard-stash)


### Branch management

- [git: checkout](branch_mgmt.md#git-checkout)
Expand Down
31 changes: 31 additions & 0 deletions docs/stash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
## Stash

Command to manipulate stashes. For those commands where you would need to pick a commit it will open a panel to pick which stash to action on.

## `git: create stash`

Create a stash.

## `git: create stash including untracked files`

Create a stash including untracked files.

## `git: create stash of staged changes only`

Create a stash from staged changes only. This works by creating a stash of only unstages files. Then creating a stash of all files and pop the first stash(or something in these lines).

## `git: show stash`

Show a stash

## `git: apply stash`

Apply a stash

## `git: pop stash`

Pop a stash

## `git: discard stash`

Discard a stash

0 comments on commit 01a27ac

Please sign in to comment.