All about Git

git mr

 https://gitlab.com/glensc/git-mr

Small script which makes it easier to checkout GitHub pull requests and Gitlab merge requests. The syntax is:

git pr 123 # assumes origin
# or
git pr 123 upstream

gitignore Templates

Datasets

These websites provide templates for good .gitignore files:


Oh shit, git!

 https://ohshitgit.com/

Cheatsheet

The website describes bad situations in git and how to solve them.

Git is hard: screwing up is easy, and figuring out how to fix your mistakes is fucking impossible. Git documentation has this chicken and egg problem where you can't search for how to get yourself out of a mess, unless you already know the name of the thing you need to know about in order to fix your problem.