diff options
author | Roger Gonzalez <roger@rogs.me> | 2023-03-18 16:40:57 -0300 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2023-03-18 16:40:57 -0300 |
commit | 8600374371f91843064441113f4023cda1730877 (patch) | |
tree | bb4677ec186dd5c323f1f010207076b7df285606 /.config/fish/functions/git_pull_all.fish | |
parent | c95dd49df12f4f8dc13cf3bdc4dad70a060bd5eb (diff) |
General fish fixes and updates
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 |