https://github.com/ruyadorno/git-ishow
Git plugin that lets you interactively select a stashed item to show
https://github.com/ruyadorno/git-ishow
Last synced: about 1 month ago
JSON representation
Git plugin that lets you interactively select a stashed item to show
- Host: GitHub
- URL: https://github.com/ruyadorno/git-ishow
- Owner: ruyadorno
- License: mit
- Created: 2018-04-03T20:23:36.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-04T16:16:21.000Z (about 7 years ago)
- Last Synced: 2024-10-18T08:04:24.053Z (6 months ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-ishow
[](https://npmjs.org/package/git-ishow)
[](https://raw.githubusercontent.com/ruyadorno/git-ishow/master/LICENSE)
[](https://gitter.im/ipipeto/Lobby)Git plugin that lets you interactively select a stashed item to show
> An [iPipeTo](https://github.com/ruyadorno/ipt) workflow
## Install
Get it with **npm**:
```sh
npm install -g git-ishow
```### Run
In any git repo folder:
```
git ishow
```**OR**
bypass **npm install** and run it at once using **npx**:
```sh
npx git-ishow
```## Bash alias equivalent
If you're already an **ipt** user that has it globally installed, you can get this same functionality by just adding this alias to your **bash** (or equivalent) file:
### Requirements
- Unix-like system (needs `cut`, `xargs` cmds)
- [git](https://git-scm.com/) globally installed
- [ipt](https://www.npmjs.com/package/ipt) globally installed```sh
alias git-ishow="git stash list | ipt -M 'Select stashed item to show:' --unquoted | cut -d ':' -f 1 | xargs git stash show -u"
```## License
[MIT](LICENSE) © 2018 [Ruy Adorno](http://ruyadorno.com)