Skip to content

Instantly share code, notes, and snippets.

@snitko
snitko / .git-ignoreoncommit.sh
Created September 24, 2011 12:13 — forked from falsefalse/.git-ignoreoncommit.sh
Git ignore changed files on commit
# do whatever the fuck you want with it license
# set 'assume unchanged' for files in list, replicates tortoise svn 'ignore on commit' feature
# source ~/.git-ignoreoncommit.sh in your profile
# https://github.com/falsefalse
function git-ioc {
VER="0.2"
ignorefile=".gitignore-oncommit"