https://github.com/piszmog/jiggle
🧂 Merges changes through a git tree.
https://github.com/piszmog/jiggle
cli git rust
Last synced: 2 months ago
JSON representation
🧂 Merges changes through a git tree.
- Host: GitHub
- URL: https://github.com/piszmog/jiggle
- Owner: Piszmog
- License: mit
- Created: 2022-09-22T23:36:28.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-29T03:55:25.000Z (about 3 years ago)
- Last Synced: 2025-04-06T09:16:03.635Z (about 1 year ago)
- Topics: cli, git, rust
- Language: Rust
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jiggle
[](https://github.com/Piszmog/jiggle/actions/workflows/ci.yml)
[](https://img.shields.io/github/v/release/Piszmog/jiggle)
[](https://opensource.org/licenses/MIT)
jiggle is a cli tool that bubbles up changes from a root branch through child branches.
## Use Case
Take the following tree structure,
```text
main
└── branch-1
└── branch-2
└── branch-3
...
```
`main` is at the root and there is a branch, `branch-1`, that is a child of `main`. There is also another
branch, `branch-2` but it is coming off of `branch-1`.
To get changes from `main` to `branch-1`, and changes from `main` and `branch-1` to `branch-2` can be time-consuming to
manually push, pull, and merge changes.
`jiggle` automates the `push` and `pull` aspects of getting changes up the tree.
## Installation
Head over to [Releases](https://github.com/Piszmog/jiggle/releases) and download the artifact for your architecture.
## Usage
```shell
$ ./jiggle -d /path/to/repo -t "main>branch-1>branch-2>branch-3"
```
### Options
| Option | Default | Required | Description |
|:------------------|:-------:|:---------:|:------------------------------------------------------|
| `--tree`, `-t` | N/A | **True** | The tree of branches the updates should flow through. |
| `--dir`, `-d` | `./` | **False** | The directory containing the repository to update. |
| `--help`, `-h` | N/A | **False** | Shows help |
| `--version`, `-V` | N/A | **False** | The version of `jiggle` |