]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - bin/git-ignore
Merge remote branch 'origin/master' into epic
[dotfiles.git] / bin / git-ignore
1 #!/bin/sh
2 # Usage: git-ignore <file1>,<file2>,...
3 # Add files to the current Git repo's exclude list
4
5 for pattern in "$@"
6 do
7 echo "$pattern" | tee -a .git/info/exclude
8 done