-
Notifications
You must be signed in to change notification settings - Fork 0
/
.aliases
42 lines (36 loc) · 998 Bytes
/
.aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
alias .a="$EDITOR ~/.aliases && source ~/.aliases"
alias .v="$EDITOR ~/.vimrc"
alias ll="ls -la"
alias up="cd .."
# Git
alias gst='git status -sb'
alias gb='git branch'
alias gl='git log'
alias gf='git fetch'
alias gfs='git fetch && git status'
alias glo='git log --oneline --decorate'
alias gap='git add --patch'
alias gco='git checkout'
alias gcv='git commit -v'
alias gcm='git commit -m'
alias gca='git commit --amend'
alias gpp='git pull --rebase && git push'
alias gmf='git merge --ff-only'
alias gcp='git cherry-pick'
alias gwp='git whatchanged -p'
alias gch='git cherry -v'
# Passenger
alias rr="touch tmp/restart.txt"
# Rails
alias ss="script/server"
alias sc="script/console"
alias sg="script/generate"
alias tf="tail -f -n 200"
alias tfdev="tf log/development.log"
alias tftest="tf log/test.log"
alias be="bundle exec"
# MP3 Downloader
alias mp3="~/Projects/scripts/mp3.rb"
# Homebrew
alias bu="brew update && brew outdated"
alias ua="rvm get head && rake update_vim_plugins && bu"