Skip to content

Improve your trunk-based development game with pre-commit and pre-push Git hooks!

License

Notifications You must be signed in to change notification settings

franckrasolo/slice.rs

Repository files navigation

slice.rs

CI Security Audit dependabot Apache License 2.0

Improve your trunk-based development game with pre-commit and pre-push Git hooks!

These hooks are meant to encourage:

  • committing fewer changes
  • constructing a narrative through micro commits leaving a trail of breadcrumbs
  • more frequent pushes of small change sets to the default branch: main | trunk
  • more frequent integration
  • working at a sustainable pace

They rather tyrannically enforce ideas discussed by in Limbo on the Cheap and work equally well when combined with the TCR workflow.

Incremental development, also discussed in Elephant Carpaccio and Elephant Carpaccio V2, suggests aiming for thinner and thinner slices as units of work (see fig. 1) that must be propagated at the earliest opportunity to other developers and validated through a continuous integration pipeline.

Slice Sizes

fig. 1 from the Elephant Carpaccio Exercise Facilitation Guide by Henrik Kniberg & Alistair Cockburn, 2013

Installation

TBD

About

Improve your trunk-based development game with pre-commit and pre-push Git hooks!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published