skip to content
A logo Linell asked a nice AI to create. Linell Bonnette

Curated Git Links of 2014

/ 3 min read

git

If you don’t know this about me, I am a huge fan of Git and GitHub. I’ve talked about it a fair amount on this blog and even done a presentation or two on the subject. I could sit and extol the whole shebang to you for hours on end. Instead, since it’s the end of the year, here are the bookmarks that I keep in my “Git Stuff” folder. Hopefully they’ll help you as much as they’ve helped me!

Finally, here is a link that everyone should read. Every line of code is always documented by Mislav Marohnic is an awesome and easy way to see yet another reason why good source control practices are important.

BONUS

It’s Christmas, right? Here are my favorite aliases I use for working with Git:

Terminal window
# Better git log
alias glg="git log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
# Another better git log
alias glgg='git log --graph'
# Undo git pull
alias gundo='git reset --hard && git clean -fd'
# Delete branch local and remote
gdel() { git branch -D "$@" && git branch -D -r origin/"$@" && git push origin :"$@" }

If you decide you want to be super fancy, check out this awesome repository full of aliases.