/git-squash-rs

A Rust-based Git Soft Reset Tool streamlines the squashing of commits by enabling users to squash a specific number of commits into one with a meaningful message. It automates the process of listing, selecting messages, and squashing without manual rebasing, enhancing Git usability.

Primary LanguageRust

Git Soft Reset Tool Rust

This tool helps you squash a specified number of commits into one with a more meaningful commit message. It provides a convenient way to squash commits without manually rebasing and interacting with the git command line.

Features

  • Retrieve and list the last n commits.
  • Select a commit message from the past commits or input a new one.
  • Squash the last n commits into a single commit with the selected message.

Usage

$ cargo install --path .
$ git squash [number_of_commits]

Replace [number_of_commits] with the number of recent commits you want to squash.

License

MIT License