Skip to content

Instantly share code, notes, and snippets.

@mrjamiebowman
Created December 4, 2019 21:30
Show Gist options
  • Save mrjamiebowman/ddd3a448cbdf193987b812911502513c to your computer and use it in GitHub Desktop.
Save mrjamiebowman/ddd3a448cbdf193987b812911502513c to your computer and use it in GitHub Desktop.
.bashrc
# git alias
alias ll='ls -l'
alias ls='ls -F --color=auto --show-control-chars'
alias r='reset'
alias cs='clear; git status'
alias rs='reset; git status'
alias gp='git push'
# git commands
function n () {
echo "git log -n$1 --oneline"
git log -n"$1" --oneline;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment