Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/oleander/git-squash-rs


https://github.com/oleander/git-squash-rs

Last synced: about 2 months ago
JSON representation

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