Skip to content

Instantly share code, notes, and snippets.

View omarirose's full-sized avatar

Omari omarirose

  • New York
  • 00:41 (UTC -04:00)
View GitHub Profile
[alias]
lg = log --pretty=format:'%Cred%h%Creset %Cblue%an%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)' --abbrev-commit --date=relative
unstage = reset HEAD --
alias = "!f() { \
if [ \"$#\" -ne 2 ]; then { echo >&2 \"Usage: git alias <name> <command>\"; exit 1; } fi; \
git config --global alias.\"$1\" \"$2\"; \
}; f"
syncoriginmaster = "!f() { \
git fetch origin master && git rebase origin/master; \
}; f"

FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.


Effective Engineer - Notes

What's an Effective Engineer?