~/lightning

Better Living through Git Hooks

Lightningat React Conf 2018 · on Thursday, 2018-10-25· [developer-experience, devops-and-delivery]
slides:none on file

Walks through concrete hook scripts: use the repository's hooks directory, remove the .sample suffix and add a bash script so pre-commit runs tests and blocks a commit when tests fail, while commit-msg enforces message format and prepare-commit-msg can edit autogenerated merge messages. Demonstrates that failing tests leave changes staged (so fixes can be amended) and that post-commit can trigger builds or deploys; shows the sample files and literal commands used.

AI-written summary · about

  1. 0:00Introduction
  2. 0:58Understanding Git Hooks
  3. 2:13The Commit Lifecycle
  4. 3:48Demonstration and Benefits
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.