mac系统如何显示和隐藏文件

 

创建 ~/.gitignore_global

.DS_Store
__pycache__/

配置选项

git config --global core.excludesfile /Users/nanakon/.gitignore_global

删除和提交

cd 进到项目

git rm --cached ~/Github/Nanakon/code/handlers/.DS_Store 
git rm -r --cached ~/Github/Nanakon/code/handlers/__pycache__/ 

 

相关文章:

  • 2021-06-25
  • 2022-02-07
  • 2021-08-17
  • 2021-12-17
  • 2021-09-11
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-28
  • 2022-12-23
  • 2021-12-21
  • 2021-05-19
  • 2022-01-18
相关资源
相似解决方案