dnstotal.blogg.se

Fus ro dah mod
Fus ro dah mod





fus ro dah mod

  • -x ignores all gitignores, nuking everything and bringing us back to a clean repo as if just cloned, except….
  • git clean -fd removes any untracked files and ( -d) directories, and….
  • -hard then resets the index and working tree to HEAD, nuking any changes to tracked files, after which….
  • git reset sets the current branch head to a given commit which defaults to HEAD and thus has no effect here, but….
  • This builds off the common git nuke alias, mine being git reset -hard & git clean -fdx -e _stuff:







    Fus ro dah mod