Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jxmked/repo_clone

Clone Github repository and automatically place them in your desired location using Termux.
https://github.com/jxmked/repo_clone

git-cli git-clone portfolio-include shell termux

Last synced: 22 minutes ago
JSON representation

Clone Github repository and automatically place them in your desired location using Termux.

Awesome Lists containing this project

README

        

# [Repo Clone](https://jxmked.github.io/Repo_Clone/)

### About

Clone Github repository in a manageable way

And, Yay! My very first Rust program. There is a lot of room to improve but it works so...

### Description

This program clone repository and store them in a managable way.
It categorize the repositories you cloned by their user, repository and branch.
It also logs your cloned repository so you can see when or track the repositories you have cloned.

### Requirements

- `git` CLI must be installed on machine
- Token is required when cloning your own private repository
- Internet connection required

### Setup

1. Download the latest release binary from [Releases](https://github.com/jxmked/Repo_Clone/releases) and place it where you want and copy its folder path.
2. Setup your environment variables by inserting the path of your binary into variable `Path` at `System`
3. Create your folder where you want to place your cloned repository.
4. Run `x-clone set output_folder `
5. This is optional if you just want to clone public repositories. Set token by `x-clone set token `

**_Everything is set_**

### Usage

`x-clone https://github.com/jxmked/Repo_Clone`

- use `-w` to clone with remote data
- use `-p` to pull/update your existing local repository

### Parameters

| Commands | Basic Description | is Required |
| :------: | :----------------------------------------------------------------------------: | :---------: |
| %URl% | Github repository to clone | Required |
| -w | Clone with `.git` folder for later use | Optional |
| -p | Pull (Update) Existing Repository in your local machine from Github Repository | Optional |

#### **Created with love and frustration** by [Jovan](https://facebook.com/deguia25)