1.項目文件目錄 打開git bash
2.進入對應的目錄,確保與.git在同一目錄下
3.執(zhí)行 touch .gitignore
4.編輯.gitignore文件 將提交需要排除的文件夾放入.gitignore文件中

image.png

image.png
1.項目文件目錄 打開git bash
2.進入對應的目錄,確保與.git在同一目錄下
3.執(zhí)行 touch .gitignore
4.編輯.gitignore文件 將提交需要排除的文件夾放入.gitignore文件中