1 2 3 4 5 6 7 8 9 10 11 12 13
# Exclude all files * # Include relevant files !/.gitconfig !/.gitignore.d/ !/.gitignore.d/git # Exclude swap and backup files *.s[a-w]? *.vim *~ *.orig