Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/airblade/git-stager
Easily stage and unstage files.
https://github.com/airblade/git-stager
git
Last synced: 15 days ago
JSON representation
Easily stage and unstage files.
- Host: GitHub
- URL: https://github.com/airblade/git-stager
- Owner: airblade
- License: mit
- Created: 2018-01-03T11:25:45.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-06-30T10:00:01.000Z (over 1 year ago)
- Last Synced: 2024-10-10T18:25:46.020Z (28 days ago)
- Topics: git
- Language: Ruby
- Size: 4.88 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# git-stager
git-stager lets you easily add/remove files to/from the index. It shows the working tree status as per `git status --short`. You can move around the entries toggling files in and out of the index with a single key.
git-stager supports these keys:
- `g` or `H` - Move to the first entry
- `M` - Move to the middle entry
- `G` or `L` - Move to the last entry
- `j` - Move down one entry
- `k` - Move up one entry
- `o` - Open the current file
- `d` - Toggle a diff of the current file
- `SPACE` or `ENTER` - Add an unstaged file or remove a staged file
- `q` or `ESCAPE` - Quit## Installation
git-stager requires Ruby.
Copy the `git-stager` script to your path and make it executable (e.g. `chmod 755 git-stager`).
git-stager is not installable as a Ruby gem.