Skip to main content

Makes daily git workflows easier, automates rebases or fixups.

Project description

smartsquash

PyPI PyPI - License Code style: black

This is still in testing phase.

Makes daily git workflows easier, automates rebases or fixups.

build

poetry install --no-dev --no-root
poetry build

installation

pip3 install smartsquash

usage

usage: sq [-h] [--target-branch TARGET_BRANCH] [--repo REPO] [--dry] [-s] [--no-add]

optional arguments:
  -h, --help            show this help message and exit
  --target-branch TARGET_BRANCH
                        Specify branch to target. Default is 'master'
  --repo REPO           Specify repo to modify. Uses pwd by default
  --dry                 Run dry
  -s, --squash          Squash similar commits on your feature branch
  --no-add              Don't add modified files to staging area

run tests

poetry run coverage run --source . -m pytest  
poetry run coverage report

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

smartsquash-0.2.0.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

smartsquash-0.2.0-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

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