文件:https://gitignore.io/
Mac 配置
echo "function gi() { curl -sL https://www.gitignore.io/api/\$@ ;}" >> \
~/.bash_profile && source ~/.bash_profile
指令
# 检查配置是否正确,查看可用的ignore文件
$ gi list
# 生成python项目的gitignore文件
$ gi python >> .gitignore
微信扫一扫
文件:https://gitignore.io/
Mac 配置
echo "function gi() { curl -sL https://www.gitignore.io/api/\$@ ;}" >> \
~/.bash_profile && source ~/.bash_profile
指令
# 检查配置是否正确,查看可用的ignore文件
$ gi list
# 生成python项目的gitignore文件
$ gi python >> .gitignore
相关推荐