全部分类
移动开发与应用
WEB前端
架构与运维
程序设计
数据库
操作系统
热点技术
综合
gitignore怎样忽略一种文件类型和所有子目录下的同类型文件
320阅读 0评论
2022-11-15
zenith518
分类:
云计算
比如,需要忽略html 和 img结尾的文件
点击(
此处
)折叠或打开
.
html
.
img
*
*
/
*
.
html
*
*
/
*
.
img
.gitignore 文件放在仓库目录的根位置
git add .gitignore
git commit -m "update gitignore"
git push
后面就可以开始copy 需要的文件目录到仓库目录中了。
2022-11-15
zenith
上一篇:
如何解决can't find '__main__' module in ...pep517.../_in_process.py 问题
下一篇:
bash环境变量传参例子