Created
March 14, 2020 14:56
-
-
Save isaquealves/1b3b382280db629058b2bab332c3920e to your computer and use it in GitHub Desktop.
Mercurial aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias hgwork="hg pull && hg update $1" | |
alias workon="hg update $1" | |
alias hgm="hgs -m" | |
alias hcd="hg update $1" | |
alias hgb="hg branch | \ | |
tr -d '\n' | \ | |
xclip -selection clipboard && \ | |
echo \"$(xclip -selection clipboard -o)\" " | |
alias hgbs="hg branches | \ | |
column -t | \ | |
sort" | |
alias hgbsc="hg branches -c | \ | |
column -t | \ | |
sort" | |
alias hglc="hg log -l 1 | \ | |
grep -1 changeset | \ | |
xclip -selection clipboard" | |
alias hgl="hg log -b -g $1" | |
alias hglm="hg lint `hg status -a | cut -d" " -f 2`" | |
alias hgsh="NO_VERIFY=1 hg shelve" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment