Re:Show HN: Git Confirm. Git hook to catch accidentally comm...
by nathancahill on Wednesday August 03, 2016 @01:42PM
(#12219902)
Same. Last project I worked on, most people used git add ., git commit, without ever looking at what was staged. The peeves were real. I'd love a tool that didn't let you commit unrelated files.
Re:Show HN: Git Confirm. Git hook to catch accidentally comm...
by jbverschoor on Wednesday August 03, 2016 @04:01PM
(#12221023)
And that's how you find those lovely credentials on github.
Re:Show HN: Git Confirm. Git hook to catch accidentally comm...
by e40 on Wednesday August 03, 2016 @07:59PM
(#12222423)
What fixed this for us is Gerrit. http://code.google.com/p/gerrit/
It's been fantastic. People fear change, but after a short while, everyone was digging the benefits of commenting on other people's code and other people helping them make their code better.
It'd be interesting if it could learn from a project's history and have a developer confirm that they really want to commit files that it has determined to be unrelated, together.