https://github.com/tomaszprasolek/git-filestage
Simple tool to stage and unstage whole files.
https://github.com/tomaszprasolek/git-filestage
git version-control
Last synced: 5 months ago
JSON representation
Simple tool to stage and unstage whole files.
- Host: GitHub
- URL: https://github.com/tomaszprasolek/git-filestage
- Owner: tomaszprasolek
- License: mit
- Created: 2018-12-23T18:30:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-19T16:25:58.000Z (about 7 years ago)
- Last Synced: 2025-12-05T23:30:57.818Z (7 months ago)
- Topics: git, version-control
- Language: C#
- Homepage:
- Size: 72.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-filestage
Simple tool to stage and unstage whole files.
[](https://prasol.visualstudio.com/git-filestage/_build/latest?definitionId=1)
[](https://www.nuget.org/packages/git-filestage/)

## Why I wrote this piece of software?
I want to have my commits clean.
They should contains only the code that fix the problem which is written in commite message.
Sometimes I make more changes, so I have to split my work to 2 or more commits.
Mostly I have to type long paths to files like: `src\projectName\moduleName\someFolder\anotherFolderName\File.cs`
I just want to quick select files and add them to staging area.
I also don't want switch from console to some GUI app.
## Installation
dotnet tool install -g git-filestage
## Features
- Add whole selected file to staging area.
- Unstage the selected file.
- Checkout selected file to discard made changes.
## Keyboard shortcuts
| Shortcut | Description |
|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ↑ | Select the previous file. |
| ↓ | Select the next file. |
| ENTER | - When file is in working directory, will be added to staging area.
- When file is in staging area, will be unstaged.
- When file is untracked, start tracked file and added to staging area. |
| R | Checkout selected file to discard made changes. |
| ESCAPE | Close application, return to command line. |
| Q | Close application, return to command line. |