~/talk

Five Ways to Break a Git Repository

Talkat NDC Oslo 2019 · 2019-06-17..06-21· [devops-and-delivery, developer-experience]
slides:none on file

Shows five concrete ways to break a Git repository and how to fix each: mismatched line endings caused by toggling autocrlf (fix with a .gitattributes file and reindexing), flipping metadata flags like core.ignorecase or core.precomposeunicode which makes files appear modified or duplicated, turning off core.protectNTFS which allows files to overwrite .git internals, and committing OS reserved names like AUX that prevent cloning on Windows. Commands demonstrated: git clone, git status, git add, git config, and deleting/recreating the index.

AI-written summary · about

  1. 0:00Introduction
  2. 0:34Importance of a Git Repository
  3. 0:58Line Endings
  4. 3:08Git Attributes
  5. 5:15Recompose Unicode
  6. 6:17Unicode Decomposition
  7. 8:11Protect NTFS
  8. 11:06Dont ever pretty
  9. 11:21Reserved file names
  10. 12:49Recap
  11. 13:09Outro
~/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.