zhaoyingjie

设置全局git忽略文件 gitconfig

1.查看git 全局配置 

cat ~/.gitconfig

若配置为空加入以下内存

[user]
email = zhaoyingjie@liquidnetwork.com
name = zhaoyingjie
[core]
#全局忽略文件地址
excludesfile = /Users/zyj/Dropbox/.gitignore_global
editor = vim
# 快捷键地址
[alias]
co = checkout
br = branch
ci = commit
st = status

 

2.编写忽略文件内容 vim ~/.gitignore_global

venv/
dump.rdb
game_test.py

 

 

分类:

技术点:

相关文章:

  • 2021-11-27
  • 2021-12-31
  • 2022-01-05
  • 2022-12-23
  • 2021-10-24
  • 2021-05-19
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2022-12-23
  • 2021-10-28
  • 2021-04-12
  • 2021-12-06
相关资源
相似解决方案