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.1.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

smartsquash-0.2.1-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file smartsquash-0.2.1.tar.gz.

File metadata

  • Download URL: smartsquash-0.2.1.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.4 CPython/3.8.1 Darwin/18.7.0

File hashes

Hashes for smartsquash-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d445e4c11292fac087283ed64b40cafd45fa8f236aa8524df271451e7d28e86f
MD5 67f319b3f56cae16ac99236fbbe266c6
BLAKE2b-256 b05cbf76d6fcae6e824d6fab7869bc7d4db5e3e030b67c08f0a9245dab200e65

See more details on using hashes here.

File details

Details for the file smartsquash-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: smartsquash-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.4 CPython/3.8.1 Darwin/18.7.0

File hashes

Hashes for smartsquash-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a3c51abeabf880c1167b3ef8aebc5f109f6731118a9ef02bb2e570724c33baa6
MD5 72a77fc87b91034f73cdfabd9768edb8
BLAKE2b-256 8d34c2adb2f9c5835bcf93e6e8fc2006dbdfbdc0e4f73525fec803eeee755aff

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