# Exclude all files * # Include relevant files !/.gitconfig !/.gitignore.d/ !/.gitignore.d/git # Exclude swap and backup files *.s[a-w]? *.vim *~ *.orig