zjuhjm

针对 mac os 系统

编辑配置.gitconfig

vim ~/.gitconfig

[user]
	name = ###
	email = ###
[push]
	default = matching
[core]
	excludesfile = ~/.gitignore_global

创建.gitignore_global

 # .gitignore_global
 .DS_Store
 .DS_Store?
 *.swp
 ._*
 .Spotlight-V100
 .Trashes
 Icon?
 ehthumbs.db
 Thumbs.db
 *.7z
 *.dmg
 *.gz
 *.iso
 *.jar
 *.rar
 *.tar
 *.zip
 
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*

分类:

技术点:

相关文章:

  • 2022-02-08
  • 2021-05-05
  • 2021-10-11
  • 2021-04-02
  • 2021-10-09
  • 2021-11-05
  • 2022-01-15
猜你喜欢
  • 2021-07-22
  • 2021-12-24
  • 2021-05-05
  • 2021-06-18
  • 2021-10-05
  • 2021-06-08
  • 2022-02-08
相关资源
相似解决方案