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.

Files for gwsa, version 1.1.3
Filename, size File type Python version Upload date Hashes
Filename, size gwsa-1.1.3.tar.gz (31.9 kB) File type Source Python version None Upload date Hashes View
Filename, size gwsa-1.1.3-py2-none-any.whl (17.7 kB) File type Wheel Python version py2 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page