3 releases
0.1.14 | Feb 18, 2024 |
---|---|
0.1.13 | Jan 23, 2024 |
0.1.12 | Dec 13, 2023 |
#2893 in Command line utilities
30 downloads per month
30KB
167 lines
GitPushUp - DevOps Automation Command Line Tool
Overview
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.
Usage
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).
Installation
Pre-Built Binary
Each release comes with pre-built binaries of several platforms. Grab it from Github Releases.
From source
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 .
crates.io
Also available at
https://crates.io/crates/gitpushup
Dependencies
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.
Contributing to GitPushUp
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.
License
This project is released under the MIT License - see the LICENSE file for details.
Dependencies
~2.7–4MB
~65K SLoC