# 設定 Git 全域忽略 `.DS_Store` 因為 macOS 會一直產生 `.DS_Store`,不小心就會 commit 進去,有夠煩,設定全域忽略才能一勞永逸。 ```bash wget https://www.toptal.com/developers/gitignore/api/macos -O ~/.gitignore_global git config --global core.excludesfile ~/.gitignore_global ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up