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...
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.
gitCLI must be installed on machine- Token is required when cloning your own private repository
- Internet connection required
- Download the latest release binary from Releases and place it where you want and copy its folder path.
- Setup your environment variables by inserting the path of your binary into variable
PathatSystem - Create your folder where you want to place your cloned repository.
- Run
x-clone set output_folder <path/where/your/repo/goes> - This is optional if you just want to clone public repositories. Set token by
x-clone set token <GIT_TOKEN>
Everything is set
x-clone https://github.com/jxmked/Repo_Clone
- use
-wto clone with remote data - use
-pto pull/update your existing local repository
| 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 |