I'm Chris Forrence, a Software Engineer. I enjoy live-coding in my spare time! Check my open-source projects on GitHub or GitLab, and follow my thoughts on Twitter!
I also play a variety of games on Twitch!

Various Configurations

Published on June 12, 2016

Here are a few of the configuration options that I always use on my development systems.


These are the Git aliases that I have globally configured on my development systems:

alias.discard=checkout --
alias.unadd=reset HEAD

Setting Git aliases is pretty simple, they can be managed through git config.

# Example:
# git config --global alias.{key}={value}
git config --global alias.discard='checkout --'


These are the first entries that I add to my bash profile:

# Navigation
alias ..='cd .. && ls'
alias ll='ls -al'
alias lt='ls -alrt'
# Git
alias gs='clear && git status'
alias gd='clear && git diff'
alias gdd='clear && git diff --cached'
alias gc='git commit -m'