ZYao


  • Blog

  • Categories

  • Archives

  • Tags

  • About

  • Search

Configure gitignore and remove .DS_Store files

Posted on 18-04-2019 | In Git | | Visitors
bash scripts that deal w/ gitignore
find . -name .DS_Store -print0 | xargs -0 git rm --ignore-unmatch
echo .DS_Store >> .gitignore
echo .DS_Store >> ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global

Ref

  • [1] Stack Overflow - .gitignore all the .DS_Store files in every folder and subfolder
# Git
Raspberry Pi 3 - Raspbian Configuration
Raspi - Setup for video streaming
  • Table of Contents
  • Overview
Zhiyuan YAO

Zhiyuan YAO

PhD Student @ L'X | Cisco

57 posts
18 categories
GitHub 知乎 Instagram Google Scholar Orcid Lab
  1. 1 Ref
© 2017 - 2022 Zhiyuan YAO
Use Super Power!
Theme - NexT.Muse