If you want to ignore all dotfiles, add this in your .gitignore file (If it doesn’t exist, add it)
.*
!.gitignore
Reference:
- avoid git adding dotfiles, hidden file and tempfiles
- Git: how to ignore hidden files / dot files / files with empty file names via .gitignore? [duplicate]
0 意見:
張貼留言