BhejDe (which means "Send it" in Hindi) is a simple command line tool written in Rust. It automates the process of adding all files, committing changes, and pushing them to the remote repository. This tool is designed to streamline the Git workflow, making it faster and more convenient.
To use BhejDe, follow these steps:
-
Navigate to the root directory of your Git repository in the terminal.
-
Run the following command:
bhejde [commit-message]
[commit-message]
(Optional): Custom commit message. If not provided, a random message will be generated.
This command will execute the tool and perform the following operations:
- Add all files recursively to the Git repository.
- Commit all changes with the provided or randomly generated commit message.
- Push the changes to the remote repository (origin main branch).
To build and install BhejDe, you'll need Rust and Cargo installed on your system. If you haven't already, you can install Rust by following the instructions on the official Rust website.
Once Rust is installed, you can proceed with the following steps:
- Clone the BhejDe repository:
git clone https://github.com/lordofwizard/bhejde.git
- Navigate to the project directory:
cd bhejde
- Build the project using Cargo:
cargo build --release
- Install the binary:
cargo install --path .
-
names
: This dependency is used to generate random commit messages. You can find more information about this crate here. -
colored
: This crate is used to add color to the output of the tool. You can find more information about this crate here. -
std::os
: This module is part of the Rust standard library and is used for interacting with the operating system. It is used in this project for handling process exit codes.
This project is released under the MIT License - see the LICENSE file for details.
If you'd like to contribute to this project, feel free to open an issue or submit a pull request on the GitHub repository.