Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oleander/git-squash-rs
https://github.com/oleander/git-squash-rs
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/oleander/git-squash-rs
- Owner: oleander
- Created: 2023-10-24T07:15:48.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-10T23:49:41.000Z (about 1 year ago)
- Last Synced: 2023-12-11T04:20:53.461Z (about 1 year ago)
- Language: Rust
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Git Soft Reset Tool [![Rust](https://github.com/oleander/git-squash-rs/actions/workflows/rust.yaml/badge.svg)](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