Skip to content

Instantly share code, notes, and snippets.

@Sardonyx001
Created August 14, 2025 11:28
Show Gist options
  • Save Sardonyx001/5a8b6d2fc88df3db17ccaaa79249e823 to your computer and use it in GitHub Desktop.
Save Sardonyx001/5a8b6d2fc88df3db17ccaaa79249e823 to your computer and use it in GitHub Desktop.
git alias to ignore annoying files without putting them in .gitignore
git config --global alias.fuckoff '!git status -s | awk "{printf \$2\"\\n\"}" >> .git/info/exclude'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment