A simple command line tool written in Rust programming language. 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 GitPushUp, follow these steps:
-
Navigate to the root directory of your Git repository in the terminal.
-
Run the following command:
gitpushup
This command will execute the tool and perform the following operations:
- Add all files recursively to the Git repository.
- Commit all changes with a randomly generated commit message.
- Push the changes to the remote repository (origin main branch).
Each release comes with pre-built binaries of several platforms. Grab it from Github Releases.
Make sure you have Rust installed, then:
To build and install this, 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 repository:
git clone https://github.com/waldirborbajr/gitpushup.git
- Navigate to the project directory:
cd gitpushup
- Build the project using Cargo:
cargo build --release
- Install the binary:
cargo install --path .
Also available at
https://crates.io/crates/gitpushup
names
: This dependency is used to generate random commit messages. 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.Colored
: This dependency is used to coloring terminal.
If you are interested in contributing to GitPush, we would love to have your help! You can start by checking out the open issues on our GitHub repository to see if there is anything you can help with. You can also suggest new features or improvements by opening a new issue.
To contribute code to GitpushUp, you will need to fork the repository and create a new branch for your changes. Once you have made your changes, you can submit a pull request for them to be reviewed and merged into the main codebase.
This project is released under the MIT License - see the LICENSE file for details.