Skip to content

Instantly share code, notes, and snippets.

@Genki-S
Created January 25, 2014 20:39
Show Gist options
  • Save Genki-S/8623241 to your computer and use it in GitHub Desktop.
Save Genki-S/8623241 to your computer and use it in GitHub Desktop.
#!/bin/sh
for f in $@; do
echo $f >> $(git rev-parse --show-toplevel)/.git/info/exclude
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment