diff options
Diffstat (limited to '.config/fish/functions/git_pull_all.fish')
-rw-r--r-- | .config/fish/functions/git_pull_all.fish | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/fish/functions/git_pull_all.fish b/.config/fish/functions/git_pull_all.fish new file mode 100644 index 00000000..037f7234 --- /dev/null +++ b/.config/fish/functions/git_pull_all.fish @@ -0,0 +1,7 @@ +function git_pull_all + for branch in (git branch | sed -E 's/^\*/ /' | awk '{print $1}'); + git checkout $branch; + git pull -p; + printf "\n"; + end +end |