We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a2b683 commit 1f39735Copy full SHA for 1f39735
1 file changed
functions/git
@@ -105,8 +105,20 @@ git_browse() {
105
done < <(find . -type d -maxdepth 1 -print0)
106
}
107
108
+git_refresh() {
109
+ if [[ ${#} -gt 0 ]]; then
110
+ cd "${1}" || return 1
111
+ fi
112
+
113
+ git default --quiet
114
+ git pull --quiet
115
+ git sweep
116
+}
117
118
+export -f git_refresh
119
120
git_pull_all() {
- git_browse 'git default && git pull && git sweep'
121
+ parallel --bar git_refresh ::: *
122
123
124
git_remote_repository() {
0 commit comments