Skip to content

Instantly share code, notes, and snippets.

@PhilippMeissner
Created March 16, 2017 15:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PhilippMeissner/fa13a2d957d4a1b9cbea20c3d810d044 to your computer and use it in GitHub Desktop.
Save PhilippMeissner/fa13a2d957d4a1b9cbea20c3d810d044 to your computer and use it in GitHub Desktop.
# Git aliases <3
alias gpl='git pull'
alias gps='git push'
alias gst='git status'
alias gc='git commit'
alias gap='git add --patch'
alias branches='git branch -a'
alias amend='git commit --amend'
# General aliases
alias be='bundle exec'
alias check='ruby -c'
# Handy for zeitkit
alias zlog="git log --author=philippmeissner --since='midnight' --reverse --format=%B | sed '/^$/d' | sed 's/^/* /' | sed s/'--skip-ci'/''/g"
alias sl="ls"
alias l="ls -la"
alias c="clear"
alias setup="bundle exec rake db:setup"
alias seed="bundle exec rake db:seed"
alias createdb="bundle exec rake db:create:all"
alias mig="bundle exec rake db:migrate"
alias berr="bundle exec rake routes"
# Browse directly to zeitio
alias zeit="cd ~/zeit"
# Run the bookmark
alias server="~/ssh-bookmarks/server"
# Reload Tmux config
alias reloadtmux="tmux source-file ~/.tmux.conf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment