$ git config --global core.excludesfile ~/.gitignore_global
 
$ vim ~/.gitignore_global
 
#配置文件参考如下
# for Mac OS X System Files
.DS_Store
Thumbs.db
 
# for emacs
*~
[#]*[#]
 
# for Eclipse
*.project
 
# for Logs and databases
*.log
 
# remove SVN
.svn
 
# for Xcode
.*.swp
.clang_complete
*.xcodeproj/project.xcworkspace/
*.xcodeproj/xcuserdata/
 
# for IDEA
*/build/*
.idea/*
*.iml
/out/*

转自:https://www.cnblogs.com/xiaosilent/p/3620381.html

相关文章:

  • 2022-12-23
  • 2021-12-14
  • 2021-08-06
  • 2022-12-23
  • 2021-12-21
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-19
  • 2022-12-23
  • 2022-12-23
  • 2021-10-30
  • 2021-04-09
  • 2021-07-28
  • 2022-12-23
相关资源
相似解决方案