Tips and Tricks

"Git gets easier once you understand branches are homeomorphic endofunctors mapping submanifolds of a Hilbert space" -- Isaac Wolkerstorfer

 

This page contains some small tips and tricks for git; these are basically thingsd that I only need every now and then, and so they don't merit space in my brain...

 

  • Automatically replace https://github.com repo URLs with SSH ones: git config --global url."ssh://This email address is being protected from spambots. You need JavaScript enabled to view it.".insteadOf "https://github.com"
  • [mgitstatus](https://github.com/fboender/multi-git-status/) - this is a great tool. I put multiple git repos in folders under one single folder, and it will report on the status of each. This is useful for things like having a directory of drafts that I am working on.