Closed llowder closed 4 years ago
We feel that since these files are not intrinsic to Puppet development, they would probably be better applied in the user- or system-level .gitignore
.
From the Git documentation:
Patterns which a user wants Git to ignore in all situations (e.g., backup or temporary files generated by the user’s editor of choice) generally go into a file specified by core.excludesFile in the user’s ~/.gitconfig. Its default value is $XDG_CONFIG_HOME/git/ignore. If $XDG_CONFIG_HOME is either not set or empty, $HOME/.config/git/ignore is used instead.
Use Case
emacs and vi are still often used for working with modules, so the temp files these editors create should be in the .gitignore
Describe the Solution You Would Like
Add entries to the default .gitignore for emacs and vi. Possible set for for vi:
possible set for emacs: