add git reset-origin and go2dotfiles.

This commit is contained in:
Ivan Malison 2014-04-13 22:19:47 -07:00
parent 444f12c844
commit 56342141da
2 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@
poh = push origin HEAD
du = "!d() { git ls-files $1 --error-unmatch 2>/dev/null 1>/dev/null && git diff $1 || `git config --get core.pager` $1; }; d"
amend = commit -a --amend -C HEAD
reset-origin = "r() {git reset --hard origin/$(git symbolic-ref HEAD); git suir}"
[core]
# Use custom `.gitignore` and `.gitattributes`

View File

@ -3,6 +3,7 @@ alias tmux="tmux -2"
alias remote_os_copy='linux_nc_paste_to_remote_clipboard'
alias tmux_cb_to_remote_cb='tmux saveb - | linux_nc_paste_to_remote_clipboard'
alias timestamp='date +%s'
alias go2dotfiles='cd $(dirname `readlink -f ~/.zshrc | xargs dirname`)'
# enables the sudoing of aliases.
alias sudo='sudo '