by konsumer · 11y ago · 0 comments
git config --global core.excludesfile ~/.config/git/ignore
cat >> ~/.config/git/ignore
.DS_Store
.AppleDouble
.LSOverride
.AppleDB
.AppleDesktop
.apdisk
.fseventsd
.Trashes
.Spotlight-V100
._*
Icon
Network Trash Folder
Temporary Items
IconI can't think of a good reason to commit hidden files.
mkdir -p ~/.config/git
Surely you don't cruise through to the end of a day without pushing at least once before lunch? :(
Anyways, besides the plug for hg, my point was that I would expect pushing could be a once-a-day kind of thing, whereas commits should be every five minutes. :-)