gwsa

git workspace automation


License
GPL-2.0
Install
pip install gwsa==1.1.3

Documentation

gwsa - git work space automation

Runs common git commands on every git repo in a workspace

Usage

status

This command shows

  • status of repo: dirty or clean,
  • if rebase, merge or cherry-pick is in progress
  • commit difference with remote: ahead + behind commits
  • status of remote: gone or ok
  • if forced push happend

status

fetch

fetch

rebase

Rebase local tracking branches. In case of a conflict, it aborts rebase.

rebase

Installation

pip install gwsa

Development

[[ -d venv ]] || virtualenv venv; . venv/bin/activate
make clean
make build
make test
make install
deactivate

Credits

This project was inspired by gws by Fabien Dubosson. The reason for writing my own is a language. I prefer python over bash: better syntax, a lot of libraries, and easy install with pip