Slide 1

Slide 1 text

Git: History matters productboard TechTalk #1 How to save time

Slide 2

Slide 2 text

Workflow pull request change log remote branch git checkout -b prefix/name git checkout master git pull git commit git fetch git rebase origin/master git push origin prefix/name git pull

Slide 3

Slide 3 text

Why commit matters?

Slide 4

Slide 4 text

Save time

Slide 5

Slide 5 text

How great commit looks like ● Should tell story ● Don’t tell what did you do, but why ● Commit like you commit to Linux Kernel ● You should write commit message before implementation ● Atomic ● External links

Slide 6

Slide 6 text

Pull Request

Slide 7

Slide 7 text

Generate Changelog

Slide 8

Slide 8 text

Actions ● introduce new labels ○ Feature, Improvement, Bug ● introduce link to productboard ● rethink branch prefixes (abandon Git Flow) ● be more careful about commits and PR’s ● forbid push to the master

Slide 9

Slide 9 text

Resources Git Workflow https://robots.thoughtbot.com/streamline-your-git-workflow-with-aliases How to Write a Git Commit Message http://chris.beams.io/posts/git-commit/ Commitizen https://www.npmjs.com/package/commitizen A Tale of Three Trees https://www.infoq.com/presentations/A-Tale-of-Three-Trees FrequencyReducesDifficulty http://martinfowler.com/bliki/FrequencyReducesDifficulty.html