mirror of
https://github.com/tj/git-extras.git
synced 2026-09-11 07:56:18 -04:00
4 lines
187 B
Plaintext
Executable file
4 lines
187 B
Plaintext
Executable file
file=$1
|
|
test -z $file && echo "file required." 1>&2 && exit 1
|
|
git filter-branch -f --index-filter "git rm -r --cached $file --ignore-unmatch" --prune-empty --tag-name-filter cat -- --all
|