Skip to content

Commit

Permalink
git alias
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbraden committed Apr 21, 2017
1 parent b3e40a8 commit add06bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion profile
Expand Up @@ -30,6 +30,8 @@ alias gca='git commit -a'
alias gl='git log -p'
alias glg='git log --graph --pretty=format:"%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset" --abbrev-commit'
alias git-cleanup='git branch --merged | grep -v "\*" | xargs -n 1 git branch -d'
alias git-fix-merges='vim -p `git diff --name-only`'
alias gfm='git-fix-merges'
# }}}

# Shortcuts
Expand All @@ -38,7 +40,7 @@ alias genpwd="openssl rand -base64 20"

# SSH
alias prom='ssh peterbraden@prometheus'
alias metis='ssh -i ~/.ssh/peter-ratatosk-metis.pem peterbraden@metis'
alias metis='ssh -i ~/.ssh/peter--frankfurt--ratatosk.pem peterbraden@metis'

# TMUX
# - supports 256 colors
Expand Down
2 changes: 1 addition & 1 deletion vimrc.vim
Expand Up @@ -258,7 +258,7 @@ augroup END
" Ctrl P {{{
let g:ctrlp_map = '<c-p>'
let g:ctrlp_cmd = 'CtrlP'
let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard']
let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard', 'find %s -type f']
let g:ctrlp_custom_ignore = {
\ 'vcs' : '\v[\/]\.(git|hg|svn|)$',
\ 'dir': 'node_modules',
Expand Down

0 comments on commit add06bc

Please sign in to comment.