Sync git repositories and clean them up.
upstreaminto current branch;
- push merged branch to fork (
- remove merged branches.
$ antibody bundle 'caarlos0/zsh-git-sync kind:path'
antigen to load it as a shell plugin.
If you used antibody, the folder will be cloned and added to your
git sync will just work out of the box.
Otherwise, you'll need to add it to your git config:
$ git config --global alias.sync '!zsh -ic git-sync'
There is also
git delete-local-merged, which only deletes
locally merged branches (part of the cleanup thing).
Again, with antibody,
git delete-local-merged will just work, otherwise:
$ git config --global alias.delete-local-merged '!zsh -ic git-delete-local-merged'