Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MisterRios/stashy
git stash plugin for oh-my-zsh
https://github.com/MisterRios/stashy
Last synced: about 2 months ago
JSON representation
git stash plugin for oh-my-zsh
- Host: GitHub
- URL: https://github.com/MisterRios/stashy
- Owner: MisterRios
- License: mit
- Created: 2017-07-03T12:58:00.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-19T07:41:35.000Z (3 months ago)
- Last Synced: 2024-03-19T08:47:03.952Z (3 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Lists
- awesome-zsh-plugins - stashy - Plugin that simplifies using `git stash`. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - stashy - Plugin that simplifies using `git stash`. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - stashy - Plugin that simplifies using `git stash`. (Plugins / Zinit (née zplugin))
- awesome-zsh-plugins - stashy - Plugin that simplifies using `git stash`. (Plugins / ZSH on Windows)
README
# Stashy
A zsh plugin that simplifies using the stash function.
You determine which stash you want by entering a plain integer.
For example, instead of:
```
$ git stash pop stash@{2}
```
you type
```
$ stashy pop 2
```This plugin includes the standard stash commands, which all take an integer as an argument.
If no integer is given, it will assume 0- the most recent stash.- `show` - shows only the stash
- `apply` - applies the stash
- `drop` - drops the stash
- `pop` - applies and drops the stashIn addition, a few standard commands are included that don't take an argument.
- `clear` - will drop all stashes
- `list` - will show all stashes one after the otherLast, a few shortcuts are included:
- `stashy staged` - stashes only staged files
- `stashy unstaged` - shortcut for `git stash --keep-index` which will stash unstaged, but not untracked files
- `stashy all` - shortcut for `git stash --include-untracked` which will stash everything, including untracked files