git-local-ignore

Crates.iogit-local-ignore
lib.rsgit-local-ignore
version1.0.0
sourcesrc
created_at2020-07-06 11:00:54.622504
updated_at2021-03-17 15:25:53.234889
descriptionLocally exclude files from being tracked by Git (without adding them to .gitignore)
homepagehttps://github.com/vpukhanov/git-local-ignore
repositoryhttps://github.com/vpukhanov/git-local-ignore
max_upload_size
id261910
size37,870
Vyacheslav Pukhanov (vpukhanov)

documentation

README

git-local-ignore

This command-line utility lets you manipulate .git repository's info/exclude file, which works like .gitignore but is completely local and not included in the repository itself.

Learn more about .git/info/exclude

Installation

cargo install git-local-ignore

Or using brew on macOS:

brew install vpukhanov/tools/git-local-ignore

Usage

# Add files to exclude list
git-local-ignore filename1 filename2

# Add multiple files to exclude list using glob pattern
git-local-ignore filename*.txt

# Add glob pattern itself to exclude list
git-local-ignore filename\*.txt

# Display entries in the exclude list
git-local-ignore --list

# Clear the exclude list
git-local-ignore --clear

# Display help
git-local-ignore --help
Commit count: 28

cargo fmt