Skip to main content

An CLI tool to simplify squashing git commits.

Project description

License: Apache 2.0 100% Local Security Policy

YAGS - Yet Another Git Squasher

Interactive tool for squashing Git commits with visual browsing and undo functionality.

demo

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

  1. Squash since main branch - Auto finds merge base
  2. Squash last N commits - Enter number of commits
  3. Browse and pick visually - Navigate with n/p, inspect with i <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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yags-0.0.1-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

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

Hashes for yags-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e24203a0f0299b6dc560bc436240d310bad7b39083aec388dbc529a686e6c698
MD5 24ecd49b66e3e25450fca45bd3707c10
BLAKE2b-256 58dbce62d892d00441857ffa4aa80fc9b6c2ff559a9f1e3527ab49f2b2998102

See more details on using hashes here.

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

Hashes for yags-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 64739852d341f4ad991b4737d1e697bfe3b3f06559c490b237e9a9cda0088219
MD5 83f259f6657167893e26277ff0e0ed9e
BLAKE2b-256 b4156856c49db57effa5e27a936d6e7353fad541938c7bc95b7b3708bce98369

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page