Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.