https://github.com/kiprasmel/git-add-files
stage files fast by editing an auto-generated file, exactly like git rebase --interactive
https://github.com/kiprasmel/git-add-files
git git-add git-rebase interactive
Last synced: 2 months ago
JSON representation
stage files fast by editing an auto-generated file, exactly like git rebase --interactive
- Host: GitHub
- URL: https://github.com/kiprasmel/git-add-files
- Owner: kiprasmel
- License: gpl-2.0
- Created: 2024-02-26T23:36:37.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2026-01-02T18:48:00.000Z (6 months ago)
- Last Synced: 2026-01-09T06:49:21.071Z (5 months ago)
- Topics: git, git-add, git-rebase, interactive
- Language: Shell
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
git-add-files
=============
stage files fast by editing an auto-generated file, exactly like git rebase --interactive
usage
-----
```
$ git status
Changes to be committed:
modified: .config/nvim/init.vim
modified: .config/tmux/tmux.conf
Changes not staged for commit:
modified: .gitconfig
modified: .zshrc
modified: README.md
$ git add-files
# => your editor:
add .gitconfig
add .zshrc
add README.md
staged .config/nvim/init.vim
staged .config/tmux/tmux.conf
# delete "add" lines to prevent files from getting staged.
# delete "staged" lines to un-stage files.
# change "add" to "edit" to selectively stage parts of file
# change "staged" to "edit" to selectively un-stage parts of file
# empty lines and lines starting with '#' will be ignored.
# => delete "README.md" line, save, exit
$ git status
Changes to be committed:
modified: .config/nvim/init.vim
modified: .config/tmux/tmux.conf
modified: .gitconfig
modified: .zshrc
Changes not staged for commit:
modified: README.md
```
recommendations
---------------
```
git config --global alias.af "add-files"
```
license
-------
GPL-2.0-only (same as git) (c) 2024 Kipras Melnikovas