Add aliases for '--(no-)skip-worktree' & showing hidden files
This commit is contained in:
parent
d848c94804
commit
b676b79185
@ -156,6 +156,8 @@ alias ggsup='git branch --set-upstream-to=origin/$(git_current_branch)'
|
|||||||
alias gpsup='git push --set-upstream origin $(git_current_branch)'
|
alias gpsup='git push --set-upstream origin $(git_current_branch)'
|
||||||
|
|
||||||
alias ghh='git help'
|
alias ghh='git help'
|
||||||
|
alias ghidden='git ls-files -v . | grep ^S'
|
||||||
|
alias ghide='git update-index --skip-worktree'
|
||||||
|
|
||||||
alias gignore='git update-index --assume-unchanged'
|
alias gignore='git update-index --assume-unchanged'
|
||||||
alias gignored='git ls-files -v | grep "^[[:lower:]]"'
|
alias gignored='git ls-files -v | grep "^[[:lower:]]"'
|
||||||
@ -231,6 +233,7 @@ alias gsu='git submodule update'
|
|||||||
alias gts='git tag -s'
|
alias gts='git tag -s'
|
||||||
alias gtv='git tag | sort -V'
|
alias gtv='git tag | sort -V'
|
||||||
|
|
||||||
|
alias gunhide='git update-index --no-skip-worktree'
|
||||||
alias gunignore='git update-index --no-assume-unchanged'
|
alias gunignore='git update-index --no-assume-unchanged'
|
||||||
alias gunwip='git log -n 1 | grep -q -c "\-\-wip\-\-" && git reset HEAD~1'
|
alias gunwip='git log -n 1 | grep -q -c "\-\-wip\-\-" && git reset HEAD~1'
|
||||||
alias gup='git pull --rebase'
|
alias gup='git pull --rebase'
|
||||||
|
Loading…
Reference in New Issue
Block a user