gimic

Mimic Git with added functionality

Nested repo code updates

repo 1 <Main_repo> | |- repo2[foo] # foo is a dir in repo2

Easily manage specific files/directories from other repos "remotely".

Insallation:

Make sure you have git installed, and your working in a git repo


1) Build from source

i. After downloading the source code, run `cargo build --release`

ii. [Optional] Add file location of the release to system `PATH`

How it works:

Gimic what designed to mi mic Git, where although submodules and subtree are great options for including another repo into your project, you may want a little bit more granular control of what file(s) are actually pulled in and are sitting in your local directory/workspace.

Usage:

Create a gloc.yaml file in the root of your poject - Checkout the example configuration file to get an idea

repo 1 | |-gloc.yaml

If you applied installation step 2.ii, this can be run anywhere within a nested .git directory, otherwise the target build directory will need to exist within the desired "root" repo.

Changes

  1. Allow existence gloc.yaml file to be optional
  2. Allow downloadable prebuilt binaries for popular systems
  3. Proivde option to merge/rebase current file/files
  4. Allow multiple targets

Contributions

Feel free to commment in the repo and let me know if you have any other suggestions or want to contribute!

UNDER CONSTRUCTION