Crates.io | syncgit |
lib.rs | syncgit |
version | |
source | src |
created_at | 2025-05-03 22:18:02.855121+00 |
updated_at | 2025-05-18 09:54:33.921271+00 |
description | Una herramienta CLI para sincronizar repositorios Git |
homepage | |
repository | |
max_upload_size | |
id | 1659184 |
Cargo.toml error: | TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
A lightweight Rust-based CLI tool to automate common Git tasks such as detecting the repository root, checking status, pulling, committing, and pushing changes โ all in a clean, user-friendly terminal interface.
git status -sb
).export GITHUB_TOKEN=your_token_here
##Global Installation
To make the tool globally available:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo install syncgit
Usage
Simply run the program in any folder containing a Git repository:
syncgit
Run the tool from anywhere inside a Git repository:
sync-git
.git
root directory.If no internet connection is detected, changes are committed locally but not pushed. A message will inform you to push manually once online.
To push to private GitHub repositories via HTTPS, the tool will use the GITHUB_TOKEN
environment variable (if available) to authenticate securely by rewriting the remote URL temporarily.
term_size
: For responsive terminal layout.std::process
, std::io
, std::env
, and std::net
.Pull requests and feedback are welcome! Please open an issue first to discuss any major changes.
Made with โค๏ธ in Rust.