dotfiles/.config/fish/functions/git_pull_all.fish

8 lines
202 B
Fish

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