~/talk

Git is Hard but Time Traveling in Git Isn't

Talkat React Conf 2019 · 2019-10-24..10-25· [developer-experience, open-source]
slides:none on file

A discovery that GitHub honors local commit timestamps leads to commit into the future reproducing date-specific bugs, not a platform bug. Language detection actually uses the open source Linguist and can be changed by adding a .gitattributes line to ignore static/ so the repo shows the right breakdown. Local hooks demonstrate automation: a pre-commit hook that blocks commits to master is implemented in bash and can prompt to continue, and JavaScript projects can use husky to run linters before commit though hooks remain bypassable by force push.

AI-written summary · about

  1. 0:00Intro
  2. 1:45DEBUGGING
  3. 2:05CREATE FUTURE COMMIT
  4. 3:10Reclassify Auto-Detected Language With One Line of Code
  5. 4:46Git Hooks Ideas
  6. 5:09Pre-Commit Hook Example
  7. 5:26CLI Output of Pre-Commit Hook
  8. 5:54Linting Hooks in Package.json with Husky
  9. 6:06Limitations of Git Hooks
  10. 6:26Helpful Git Resources
~/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.