Browse code

Added more aliases for Rails & git

Gerhard Lazu authored on 11/10/2009 at 14:09:10
Showing 1 changed files
... ...
@@ -2,8 +2,14 @@ alias pu='pushd'
2 2
 alias po='popd'
3 3
 
4 4
 alias sc='ruby script/console'
5
+alias sdb='ruby script/dbconsole'
5 6
 alias sd='ruby script/server --debugger'
6 7
 alias ss='thin --stats "/thin/stats" start'
8
+alias sg='ruby script/generate'
9
+alias sd='ruby script/destroy'
10
+alias sp='ruby script/plugin'
11
+alias ssp='ruby script/spec'
12
+alias rdbm='rake db:migrate'
7 13
 
8 14
 alias mr='mate CHANGELOG app config db lib public script spec test'
9 15
 alias .='pwd'
... ...
@@ -18,6 +24,7 @@ alias ss='sudo su -'
18 18
 alias g='git'
19 19
 alias gst='git status'
20 20
 alias gl='git pull'
21
+alias gup='git fetch && git rebase'
21 22
 alias gp='git push'
22 23
 alias gd='git diff | mate'
23 24
 alias gdv='git diff -w "$@" | vim -R -'
... ...
@@ -25,6 +32,8 @@ alias gc='git commit -v'
25 25
 alias gca='git commit -v -a'
26 26
 alias gb='git branch'
27 27
 alias gba='git branch -a'
28
+alias gdb='git branch -d'
29
+alias gcount='git shortlog -sn'
28 30
 
29 31
 alias history='fc -l 1'
30 32