https://github.com/max-wittig/smartsquash
Makes daily git workflows easier, automates rebases or fixups
https://github.com/max-wittig/smartsquash
git python3 rebase smartsquash squash
Last synced: 5 months ago
JSON representation
Makes daily git workflows easier, automates rebases or fixups
- Host: GitHub
- URL: https://github.com/max-wittig/smartsquash
- Owner: max-wittig
- License: mit
- Created: 2020-02-11T21:20:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-08-03T16:42:21.000Z (almost 3 years ago)
- Last Synced: 2025-02-20T00:30:48.834Z (over 1 year ago)
- Topics: git, python3, rebase, smartsquash, squash
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# smartsquash
[](https://badge.fury.io/py/smartsquash)
[](https://github.com/max-wittig/smartsquash/blob/master/LICENSE)

> This is still in testing phase.
Makes daily git workflows easier, automates rebases or fixups.
### build
```sh
poetry install --no-dev --no-root
poetry build
```
### installation
```sh
pip3 install smartsquash
```
### usage
```sh
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
```sh
poetry run coverage run --source . -m pytest
poetry run coverage report
```