Skip to content

Commit

Permalink
cleanup git related aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Semenko committed Jul 26, 2013
1 parent 811f450 commit ca1a7d7
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 107 deletions.
5 changes: 0 additions & 5 deletions bin/git-all

This file was deleted.

5 changes: 0 additions & 5 deletions bin/git-amend

This file was deleted.

13 changes: 0 additions & 13 deletions bin/git-credit

This file was deleted.

5 changes: 0 additions & 5 deletions bin/git-undo

This file was deleted.

36 changes: 0 additions & 36 deletions bin/git-up

This file was deleted.

33 changes: 0 additions & 33 deletions bin/gitio

This file was deleted.

8 changes: 0 additions & 8 deletions bin/search

This file was deleted.

7 changes: 5 additions & 2 deletions git/aliases.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@ then
fi

# The rest of my fun git aliases
alias gl='git pull --prune'
alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
alias gpp='git pull --prune'
alias gl="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
alias gls= 'git log --pretty=format:"%C(reset)%h %C(yellow)%ad%C(yellow)%d %C(reset)%s%C(green) [%cn]" --decorate --date=short'
alias gp='git push origin HEAD'
alias gpr='git pull --rebase'
alias gd='git diff'
alias gc='git commit -m'
alias gca='git commit -a'
alias gcam='git commit -a -m'
alias gco='git checkout'
alias gb='git branch'
alias gs='git status -sb' # upgrade your git if -sb breaks for you. it's fun.
alias grm="git status | grep deleted | awk '{print \$3}' | xargs git rm"
alias greset='git reset --soft HEAD^'
4 changes: 4 additions & 0 deletions zsh/aliases.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ alias reload!='. ~/.zshrc'

alias myip="curl -s icanhazip.com"

#cat with syntax highlighting
alias c='~/tools/pygments/pygmentize -O style=monokai -f console256 -g'
# Quick search in a directory for a string. use -iru to search directories ack usually ignores (like .git)
alias s='ack -i'


alias hosts='sudo $EDITOR /etc/hosts'
#list only directories
Expand Down

0 comments on commit ca1a7d7

Please sign in to comment.