Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥

A Healthy Everyday Git Commit

Yudhi Satrio
November 20, 2021

A Healthy Everyday Git Commit

Yudhi Satrio

November 20, 2021
Tweet

More Decks by Yudhi Satrio

Other Decks in Programming

Transcript

  1. Let me introduce myself • I’m Yudhi from Gresik Indonesia

    • I’m just another Front End Developer who is working on ad tech industry • Active on Twitter, you can f ind me @isatrio. I tweet in Indonesian and English, sometimes Javanese. • One of behind A11y ID • Actually I have more but let just this.
  2. Disclaimer • I implemented this to our development team. It

    might not f it to your needs but at least you have point of view from others
  3. Commit Message Driven Development • The idea is not originally

    from me • This is the thing that I mentioned in my presentation title “Healthy”But • Originally this was from gitlab work f low • I’m not alone, even someone created additional plugin for git to do this. • The bene f its: scope, structure, focus • I like doing this
  4. • feat: (new feature for the user, not a new

    feature for build script) • f ix: (bug f ix for the user, not a f ix to a build script) • docs: (changes to the documentation) • style: (formatting, missing semi colons, etc; no production code change) • refactor: (refactoring production code, eg. renaming a variable) • test: (adding missing tests, refactoring tests; no production code change) • chore: (updating grunt tasks etc; no production code change)
  5. References • https://chris.beams.io/posts/git-commit/ • https://csswizardry.com/2017/05/little-things-i-like-to-do-with-git/ • https://www.conventionalcommits.org/en/v1.0.0/ • https://gist.github.com/joshbuchea/6f47e86d2510bce28f8e7f42ae84c716 •

    https://github.com/fteem/git-semantic-commits • https://github.com/conventional-changelog/standard-version • https://gitmoji.dev/ • https://hofmannsven.com/2019/commit-message-driven-development