lgit-rs
is a powerful, opinionated command-line interface (CLI) tool, designed to simplify the management of git
repositories. It provides a set of commands that streamline common git operations, making your workflow more efficient.
- Autosquash: Automatically squash all fixup commits in the current branch.
- Branch: Quickly create a new branch from a freshly pulled BASE branch.
- Checkout: Checkout a branch by name, or by selecting from a list of all branches.
- DeleteBranches: Safely delete all branches for which remotes are gone. Use with caution!
- Fixup: Commit as a fixup, simplifying your commit history.
- Rebase: Rebase the current branch on top of freshly pulled BASE branch with a single command.
lgit-rs
requires git to be installed on your system. You can check if git is installed by running the following
command:
git --version
Archives of precompiled binaries for lgit are available for Windows, macOS and Linux.
Installing lgit-rs
through Cargo is the easiest way to get started. You can install it by running the following
command:
cargo install lgit
You can also build lgit-rs
from source by running the following command:
cargo install --path .
To get a comprehensive list of all available commands and options, you can use the --help
flag:
lgit --help
Each command has a dedicated help page that can be accessed by running lgit <command> --help
. For example:
lgit branch --help
lgit-rs
is developed using the Rust programming language and
the Cargo package manager.
You can clone the repository and run the project locally using the following commands:
git clone https://github.com/luladjiev/lgit-rs.git
cd lgit-rs
cargo run
We welcome contributions from the community! Feel free to submit a Pull Request or open an issue if you find any bugs or have suggestions for improvements.
lgit-rs
is licensed under the MIT License, a permissive license that lets
you do anything with the code with proper attribution and without warranty.