Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xavier2p/gitsync
A tool to use git with ease, written Rust.
https://github.com/xavier2p/gitsync
automation git rust
Last synced: about 1 month ago
JSON representation
A tool to use git with ease, written Rust.
- Host: GitHub
- URL: https://github.com/xavier2p/gitsync
- Owner: Xavier2p
- License: mit
- Created: 2023-05-05T18:48:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-25T16:51:00.000Z (about 2 months ago)
- Last Synced: 2024-11-25T17:18:42.188Z (about 2 months ago)
- Topics: automation, git, rust
- Language: Rust
- Homepage: https://xavier2p.github.io/gitsync/
- Size: 1.18 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: .github/README.md
- License: LICENSE
Awesome Lists containing this project
README
# `gsync`
[![ci-status](https://img.shields.io/github/actions/workflow/status/xavier2p/gitsync/ci.yml?label=Continuous%20Integration&logo=githubactions&style=for-the-badge)](https://github.com/Xavier2p/gitsync/actions)
[![rust](https://img.shields.io/github/languages/top/xavier2p/gitsync?color=orange&logo=rust&style=for-the-badge)](https://rust-lang.org)[![license](https://img.shields.io/github/license/xavier2p/gitsync?logo=github&style=for-the-badge&color=yellow)](https://github.com/Xavier2p/gitsync/blob/main/LICENSE)
[![release](https://img.shields.io/github/v/release/xavier2p/gitsync?label=latest%20release&logo=github&style=for-the-badge)](https://github.com/Xavier2p/gitsync/releases)
[![docs-status](https://img.shields.io/website?down_color=critical&down_message=DOWN&label=Documentation&logo=github&style=for-the-badge&up_color=success&up_message=UP&url=https%3A%2F%2Fxavier2p.github.io%2Fgitsync)](https://xavier2p.github.io/gitsync)---
> A tool to earn time at each `git` actions.
At each call, the tool performs:
```console
$ git add -A
# or --updated if you use the `-u` option$ git commit -m ""
# we can add the option `-s` to use commit signature$ git tag -a -m ""
# if you use `-t `$ git push
# only if you don't use `-l`, follows tags if selected
```You can add `-v` to enable verbose at each step.
## Usage
```console
$ gsync help
A simple tool to use `git` with ease.
Written in Rust.Usage: gsync [OPTIONS]
Commands:
build Changes that affect the build system or external dependencies
chore Updating grunt tasks etc; no production code change
ci Changes on the CI/CD pipeline or other DevOps tools
docs Changes to the documentation
feat New feature for the user, not a new feature for build script
fix Bug fix for the user, not a fix to a build script
perf A new performance improvement
refactor Refactoring production code, eg. renaming a variable
style Formatting, missing semi colons, etc; no production code change
test Adding missing tests, refactoring tests; no production code change
help Print this message or the help of the given subcommand(s)Options:
-t, --tag Tag to assign at the commit
-l, --local If used, the commit won't be pushed, only committed
-v, --verbose Enable verbose mode
-u, --updated Add only the updated files
-s, --sign Sign the commit
-h, --help Print help
-V, --version Print version
```## Examples
```bash
gsync "My commit message"
gsync -uvlt v1.0.0 "My commit message"
```## Installation
```bash
git clone https://github.com/Xavier2p/gitsync.git && cd gitsync
cargo install --path .
```## License
This project is under the MIT License.
## Author
**`gsync`** © [Xavier2p](https://github.com/Xavier2p)