fix (zshrc): the command is not necessarily invoked at the top-level of a specific repository so the correct work-tree must be specified
This commit is contained in:
parent
fe962313b5
commit
555b2a2524
2
zshrc
2
zshrc
@ -68,7 +68,7 @@ alias gd='g diff'
|
|||||||
alias glog='g log --graph --oneline'
|
alias glog='g log --graph --oneline'
|
||||||
alias gst='g status --short --branch'
|
alias gst='g status --short --branch'
|
||||||
# update all repositories within the current directory
|
# update all repositories within the current directory
|
||||||
alias update_repositories='find . -name ".git" -type d | xargs -P8 -I{} git --git-dir={} pull'
|
alias update_repositories='find . -name ".git" -type d | xargs -P4 -I{} git --git-dir={} --work-tree={} pull'
|
||||||
|
|
||||||
# Suppresses line numbers in less
|
# Suppresses line numbers in less
|
||||||
alias less='less --line-numbers'
|
alias less='less --line-numbers'
|
||||||
|
Loading…
Reference in New Issue
Block a user