add git reset-origin and go2dotfiles.
This commit is contained in:
parent
444f12c844
commit
56342141da
@ -17,6 +17,7 @@
|
|||||||
poh = push origin HEAD
|
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"
|
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
|
amend = commit -a --amend -C HEAD
|
||||||
|
reset-origin = "r() {git reset --hard origin/$(git symbolic-ref HEAD); git suir}"
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
# Use custom `.gitignore` and `.gitattributes`
|
# Use custom `.gitignore` and `.gitattributes`
|
||||||
|
@ -3,6 +3,7 @@ alias tmux="tmux -2"
|
|||||||
alias remote_os_copy='linux_nc_paste_to_remote_clipboard'
|
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 tmux_cb_to_remote_cb='tmux saveb - | linux_nc_paste_to_remote_clipboard'
|
||||||
alias timestamp='date +%s'
|
alias timestamp='date +%s'
|
||||||
|
alias go2dotfiles='cd $(dirname `readlink -f ~/.zshrc | xargs dirname`)'
|
||||||
|
|
||||||
# enables the sudoing of aliases.
|
# enables the sudoing of aliases.
|
||||||
alias sudo='sudo '
|
alias sudo='sudo '
|
||||||
|
Loading…
Reference in New Issue
Block a user