Skip to main content

git workspace automation

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gwsa-1.1.3.tar.gz (31.9 kB view hashes)

Uploaded Source

Built Distribution

gwsa-1.1.3-py2-none-any.whl (17.7 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page