0
点赞
收藏
分享

微信扫一扫

Mac配置gitignore自动生成

止止_8fc8 2022-03-10 阅读 161


文件:​​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



举报

相关推荐

0 条评论