Skip to main content
10 votes

Is it dangerous to leave “.DS_Store” files left in Git commit history?

Have a look at what is stored in the .DS_Store file. Whether it is going to be dangerous or not depends on whether there is anything that could be stored in that file in your particular directory that ...
Jack Aidley's user avatar
10 votes

Is it dangerous to leave “.DS_Store” files left in Git commit history?

I would remove them git rm .DS_Store and update your ignore file. They don’t add to your project and could leak data from other file names you didn’t stage for checkin. You should know best on what ...
bmike's user avatar
  • 238k
2 votes

`git commit` is stuck on macOS Ventura

It turns out my problem is not Mac related at all, gpg commit signing gets stuck. See the following questions for resource:
maciek's user avatar
  • 141
1 vote

Change default app for all .gitignore files

I believe the way you used duti will only work for files with the 'gitignore' file extension. However since the '.' is the first character, macOS does not see it as a filename extensions, but rather ...
itspete's user avatar
  • 571
1 vote

Hpw can I fix auto complete with git after a macOS update?

At the end, I reinstalled bash completions via Homebrew brew reinstall bash-completion brew cleanup bash-completion and ensured that it gets loaded from ~/.bash_profile by adding the following line ...
thomas-peter's user avatar
1 vote

zsh: bus error with git on SMB volume

I had the same problem with a git repository on SMB (using git version 2.42.0 from Homebrew). Unmounting the SMB share and mounting it again seems to have fixed it.
Jonas Due Vesterheden's user avatar
1 vote

How can I delete a keychain password for github and vscode?

I was facing the same problem, I was searching github in the keychain window and then trying to delete them. When doing this nothing happens, but if you just manually scroll and find the github ...
gokul j's user avatar
  • 11
1 vote

git auto-complete for *branches* at the command line?

See appendix A1.7 of the Git handbook: Zsh also ships with a tab-completion library for Git. To use it, simply run autoload -Uz compinit && compinit in your .zshrc.
Michael Schmid's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible