Skip to content
Browse files

git aliases

  • Loading branch information...
1 parent 7bc1ec4 commit ba9038fb963787e31376708cf858e026e3093699 @gabesoft committed Jul 24, 2012
Showing with 40 additions and 2 deletions.
  1. +38 −0 .bashrc
  2. +2 −2 .vimrc.view
View
38 .bashrc
@@ -108,6 +108,44 @@ alias lF='ls -Al | grep -v "^d"' # show only files (include hidden)
alias ldir='ls -l | grep "^d"' # show only directories
alias lDir='ls -Al | grep "^d"' # show only directories (include hidden)
+# git
+alias gad='git ad'
+alias galias='git alias'
+alias gbr='git br'
+alias gca='git ca'
+alias gcc='git cc'
+alias gccc='git ccc'
+alias gcf='git cf'
+alias gch='git ch'
+alias gci='git ci'
+alias gco='git co'
+alias gdf='git df'
+alias gdm='git dm'
+alias gds='git ds'
+alias gdv='git dv'
+alias gfw='git fw'
+alias ggb='git gb'
+alias glast='git last'
+alias gld='git ld'
+alias glf='git lf'
+alias glg='git lg'
+alias glo='git lo'
+alias glr='git lr'
+alias gls='git ls'
+alias glt='git lt'
+alias gmg='git mg'
+alias gms='git ms'
+alias gph='git ph'
+alias gpm='git pm'
+alias gpo='git po'
+alias grf='git rf'
+alias grh='git rh'
+alias grr='git rr'
+alias grs='git rs'
+alias gso='git so'
+alias gst='git st'
+alias gsu='git su'
+alias gundo='git undo'
function delrec() {
find . -name "$1" -print0 | xargs -0 rm -rfv ;
View
4 .vimrc.view
@@ -114,11 +114,11 @@ setlocal nowinfixwidth
setlocal nowrap
setlocal wrapmargin=0
silent! normal! zE
-let s:l = 727 - ((56 * winheight(0) + 30) / 60)
+let s:l = 217 - ((56 * winheight(0) + 30) / 60)
if s:l < 1 | let s:l = 1 | endif
exe s:l
normal! zt
-727
+217
normal! 0
lcd /apps/blogmon
let &so = s:so_save | let &siso = s:siso_save

0 comments on commit ba9038f

Please sign in to comment.
Something went wrong with that request. Please try again.