APACHE NETBEANS #HACKTOBERFEST OR... HOW TO MAKE A COMMIT EMILIAN - - PowerPoint PPT Presentation

apache netbeans hacktoberfest
SMART_READER_LITE
LIVE PREVIEW

APACHE NETBEANS #HACKTOBERFEST OR... HOW TO MAKE A COMMIT EMILIAN - - PowerPoint PPT Presentation

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:


slide-1
SLIDE 1

APACHE NETBEANS #HACKTOBERFEST

OR... HOW TO MAKE A COMMIT

slide-2
SLIDE 2

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

slide-3
SLIDE 3

#HACKTOBERFEST

Should be a circle: Contributor commits Project Project marks issue #hacktoberfest label DigitalOcean + Github give tshirt Contributor

slide-4
SLIDE 4

MINOR

Problems with whitespace: other editors Partial solutions Losing interest git conflicts Rebasing, updating the repository

slide-5
SLIDE 5

ODD HAPPENINGS

Deleted messages Reserved too many issues, worked on none Stopped answering

slide-6
SLIDE 6

DIDN'T WORK

Bureaucracy / reservations (more work for me) Racing to finish the issues, overlapping some #hacktoberfest files (hard on beginners: rebase, etc)

slide-7
SLIDE 7

WHAT WORKED WELL

Good reaction on instant feedback Aer the 1st commit -- serial contributor Some professionals also contributed

slide-8
SLIDE 8

A PROJECT IS A LIVING THING

slide-9
SLIDE 9

So, a (D)VCS is important

slide-10
SLIDE 10

THE COMMIT MESSAGE: LIKE AN EMAIL

The 1st line should be succint / subject line Optionally, a longer explanation aerwards (documentation) Follow the repository style (doesn't matter the tense, etc)

slide-11
SLIDE 11

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.

slide-12
SLIDE 12

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

slide-13
SLIDE 13

BRR

slide-14
SLIDE 14

LEARN TO LOVE THE DIFF

slide-15
SLIDE 15
slide-16
SLIDE 16

BUT WAIT, THERE'S MORE!

git rebase git merge git bisect

slide-17
SLIDE 17

Google hits I liked: https://chris.beams.io/posts/git-commit/