A simple tool to pick files to add to staging area in Git
# Clone the repository
git clone https://github.com/MarcosSiega/git-pick.git
cd git-pick
# Build and install globally
make installThis will install the binary to /usr/local/bin/git-pick, making it available system-wide.
# Clone the repository
git clone https://github.com/MarcosSiega/git-pick.git
cd git-pick
# Install dependencies
go mod tidy
# Build the binary
go build -o git-pick main.go
# Move to a directory in your PATH
sudo mv git-pick /usr/local/bin/
sudo chmod +x /usr/local/bin/git-pickOnce installed, you can use it directly as git pick (yes, Git automatically recognizes git-* binaries!):
git pickOr, if you prefer a custom alias, add this to your ~/.gitconfig:
[alias]
pick = !git-pickSimply run in any git repository:
git-pick
# or
git pickThen use:
↑/↓orj/kto navigateSpaceto select/deselect filesEnterto add selected files to stagingqorEscto quit