summaryrefslogtreecommitdiff
path: root/.config/fish/functions/git_pull_all.fish
blob: 037f7234fa4e1e5c0d5e7a57dcac33ca18bebf29 (plain)
1
2
3
4
5
6
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