Re:Fork: Fast and Friendly Git Client for Mac
by DanPristupov on Monday August 29, 2016 @04:09PM
(#12384894)
Hi. Didn't even think about such a requirement. In next version I'll make credentials optional (with a warning though).
[ Parent
| on HN ]
People shouldn't use git without having configured that. It would prevent incorrect commits landing in public repositories. Actually git defaults to some made-up local git author if it's not set, and that's less useful and sometimes invalid, provoking git-fsck errors.
Re:Fork: Fast and Friendly Git Client for Mac
by spicyj on Monday August 29, 2016 @08:51PM
(#12386592)
Git explicitly shows a "Committer" line when typing the commit message if it chooses a default, so I also find not setting one globally and getting this reminder to be more useful:
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# Committer: Ben Alpert <[email protected]>
#
# On branch master
# Your branch is up-to-date with 'origin/master'.
#