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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

Details for the file gwsa-1.1.3.tar.gz.

File metadata

  • Download URL: gwsa-1.1.3.tar.gz
  • Upload date:
  • Size: 31.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

File hashes

Hashes for gwsa-1.1.3.tar.gz
Algorithm Hash digest
SHA256 f6b4e57f41a6f81ae697e8b3868fee2c645410b1bbb63d5880b7bb6cabed6332
MD5 fc75f7162cafea6ed1af7fdc81c3560d
BLAKE2b-256 32c0ae632707492ee9e9f7f2f1109b33af811c316d9c490e1997f36b4b82190d

See more details on using hashes here.

File details

Details for the file gwsa-1.1.3-py2-none-any.whl.

File metadata

  • Download URL: gwsa-1.1.3-py2-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

File hashes

Hashes for gwsa-1.1.3-py2-none-any.whl
Algorithm Hash digest
SHA256 260e6aa695d3f42a03cf4bc826589cd651407f8bb08d3af2f01cd06b14e80367
MD5 b02895bb7e83c22bc2ccd94d7ac75fdd
BLAKE2b-256 8e83625d43e52851d47c748153600f17977cee4eb547b188005c1f691863c31d

See more details on using hashes here.

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