https://github.com/oleander/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.
https://github.com/oleander/git-squash-rs
command-line-tool commit-squash git-squash git-tool rust
Last synced: 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/oleander/git-squash-rs
- Owner: oleander
- Created: 2023-10-24T07:15:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-04T18:37:43.000Z (7 months ago)
- Last Synced: 2025-05-07T20:45:09.683Z (2 months ago)
- Topics: command-line-tool, commit-squash, git-squash, git-tool, rust
- Language: Rust
- Size: 35.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Git Soft Reset Tool [](https://github.com/oleander/git-squash-rs/actions/workflows/rust.yaml)
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
```bash
$ 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