APACHE NETBEANS #HACKTOBERFEST OR... HOW TO MAKE A COMMIT
EMILIAN BOLD @NetBeans #Hacktoberfest stats: 75 commits, 24 new @NetBeans contributors! 218 closed issues, 101 closed PRs. Twitter: @emilianbold Apache: emi@apache.org Direct: emilian.bold@gmail.com
#HACKTOBERFEST Should be a circle: Contributor commits Project Project marks #hacktoberfest issue label DigitalOcean + give tshirt Contributor Github
MINOR Problems with whitespace: other editors Partial solutions Losing interest git conflicts Rebasing, updating the repository
ODD HAPPENINGS Deleted messages Reserved too many issues, worked on none Stopped answering
DIDN'T WORK Bureaucracy / reservations (more work for me) Racing to finish the issues, overlapping some #hacktoberfest files (hard on beginners: rebase, etc)
WHAT WORKED WELL Good reaction on instant feedback A�er the 1st commit -- serial contributor Some professionals also contributed
A PROJECT IS A LIVING THING
So, a (D)VCS is important
THE COMMIT MESSAGE: LIKE AN EMAIL The 1st line should be succint / subject line Optionally, a longer explanation a�erwards (documentation) Follow the repository style (doesn't matter the tense, etc)
Add an example commit message It's important to have a slide with an example. I mean, you can only talk so long about imaginary things.
GIOTTO BIG O It's the small things that matter the commit should be succint no extra whitespace, newlines no reformatting no unnecessary refactoring single feature/bugfix
BRR
LEARN TO LOVE THE DIFF
BUT WAIT, THERE'S MORE! git rebase git merge git bisect
Google hits I liked: https://chris.beams.io/posts/git-commit/
Recommend
More recommend