- Notifications
You must be signed in to change notification settings - Fork0
stage files fast by editing an auto-generated file, exactly like git rebase -i
License
NotificationsYou must be signed in to change notification settings
kiprasmel/git-add-files
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
git-add-files=============stage files fast by editing an auto-generated file, exactly like git rebase --interactiveusage-----```$ git statusChanges to be committed: modified: .config/nvim/init.vim modified: .config/tmux/tmux.confChanges not staged for commit: modified: .gitconfig modified: .zshrc modified: README.md$ git add-files# => your editor:add .gitconfigadd .zshrcadd README.mdstaged .config/nvim/init.vimstaged .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 statusChanges to be committed: modified: .config/nvim/init.vim modified: .config/tmux/tmux.conf modified: .gitconfig modified: .zshrcChanges 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