git gitignore
时间: 2023-09-21 16:10:08 浏览: 116
Git中.gitignore文件忽略文件的使用
在使用Git时,`.gitignore`文件是非常重要的。它的作用是指定哪些文件或文件夹在提交到远程仓库时应该被忽略,从而减少不必要的文件上传到远程仓库中。要在Git中使用`.gitignore`文件,可以通过命令`git config --global core.excludesfile ~/.gitignore`来设置全局的`.gitignore`文件路径。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Git忽略提交规则 - .gitignore配置【学习】](https://blog.csdn.net/stephenbruce/article/details/127355631)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Git 开发必备 .gitignore 详解!【建议收藏】](https://blog.csdn.net/u011074149/article/details/119887324)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文