An CLI tool to simplify squashing git commits.
Project description
YAGS - Yet Another Git Squasher
Interactive tool for squashing Git commits with visual browsing and undo functionality.
Installation
git clone https://github.com/duriantaco/yags.git
cd yags
pip install -e .
Usage
yags
yags --commits 3 # squash last 3 commits
yags --dry-run # show what would happen
yags --undo # undo last squash
yags --limit 50 # show up to 50 commits
Options
- Squash since main branch - Auto finds merge base
- Squash last N commits - Enter number of commits
- Browse and pick visually - Navigate with
n/p, inspect withi <num>
Quick start
You can run yags and select whichever options suit you the best. We will show you
Safety
- Auto backup branches before squashing
yags --undo
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yags-0.0.1.tar.gz
(9.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
yags-0.0.1-py3-none-any.whl
(8.5 kB
view details)
File details
Details for the file yags-0.0.1.tar.gz.
File metadata
- Download URL: yags-0.0.1.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e24203a0f0299b6dc560bc436240d310bad7b39083aec388dbc529a686e6c698
|
|
| MD5 |
24ecd49b66e3e25450fca45bd3707c10
|
|
| BLAKE2b-256 |
58dbce62d892d00441857ffa4aa80fc9b6c2ff559a9f1e3527ab49f2b2998102
|
File details
Details for the file yags-0.0.1-py3-none-any.whl.
File metadata
- Download URL: yags-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64739852d341f4ad991b4737d1e697bfe3b3f06559c490b237e9a9cda0088219
|
|
| MD5 |
83f259f6657167893e26277ff0e0ed9e
|
|
| BLAKE2b-256 |
b4156856c49db57effa5e27a936d6e7353fad541938c7bc95b7b3708bce98369
|