some aliases
This commit is contained in:
parent
76c9343fb9
commit
85d5015a1d
1 changed files with 2 additions and 1 deletions
|
@ -19,9 +19,10 @@ alias grs='git reset --soft HEAD~1'
|
|||
alias grh='git reset --hard HEAD~1'
|
||||
alias serve="python -m $(python -c 'import sys; print("http.server" if sys.version_info[:2] > (2,7) else "SimpleHTTPServer")')"
|
||||
|
||||
|
||||
gunt() {
|
||||
git status | \
|
||||
grep -vE '( to publish your local commits|git add|git restore|On branch|Your branch|Untracked files|nclude in what will b|but untracked files present|no changes added to commit|modified:|deleted:|Changes not staged for commit)' |\
|
||||
grep -vE '(Changes to be committed:| to publish your local commits|git add|git restore|On branch|Your branch|Untracked files|nclude in what will b|but untracked files present|no changes added to commit|modified:|deleted:|Changes not staged for commit)' |\
|
||||
sort | uniq | \
|
||||
xargs -n 1 $*
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue