Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 4 hours ago
JSON representation
Clone Github repository and automatically place them in your desired location using Termux.
- Host: GitHub
- URL: https://github.com/jxmked/repo_clone
- Owner: jxmked
- License: mit
- Created: 2022-03-04T04:23:18.000Z (over 2 years ago)
- Default Branch: xio
- Last Pushed: 2024-09-17T15:09:57.000Z (about 2 months ago)
- Last Synced: 2024-09-18T01:31:07.368Z (about 2 months ago)
- Topics: git-cli, git-clone, portfolio-include, shell, termux
- Language: Rust
- Homepage: https://jxmked.github.io/Repo_Clone
- Size: 105 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Repo Clone](https://jxmked.github.io/Repo_Clone/)
### About
Clone Github repository in a manageable way### Features
- Clone Github repository with `.git` folder.
- Clone Github repository without `.git` folder and save internet data charges.
- Clone Github same repository from different branch
- Direct pasting copied URL from browser to CLI
- Clone your private repository using `-w` flag
- Pull (Update) using `-p` flag (git pull origin)### Requirements
- `git` CLI must be installed on machine.
- Internet connection required.### Installation and Use
[Download](https://github.com/jxmked/Repo_Clone) and run `bash clone.sh [-w]`### 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 |
| -clear | Clear Temporary Folder | Optional |## Notes:
- Github token is required to clone repository with data and private repository.
- Set your own directory inside of the `clone.sh` file
- Must be change to already existing directory.
- `log.txt` is stored in `.xio` folder.
- Master/Main branch is default```bash
# No .git folder or git commit history
bash clone.sh https://github.com/jxmked/Repo_Clone
# Or
# Download with .git folder or commit history.
# It also allow to download private repository
bash clone.sh https://github.com/jxmked/Repo_Clone -w
```### **About .git folder**
> "The `.git` folder contains all information that is necessary for the project and
> all information relating commits, remote repository address, etc. It also contains
> a log that stores the commit history. This log can help you to roll back to the
> desired version of the code." - Google#### Tested in...
- Android Termux.#### Downloaded repositories will look like this...
- __Downloads__
- **jxmked**
- Repo_Clone (master)
- C-language (master)
- **Username A**
- Repo (...)
- Repo (...)
- **Username B**
- Repo (...)
- Repo (...)
- Repo (...)### Example links can be clone...
- ```https://github.com/jxmked/Repo_Clone``` - Main branch
- ```https://github.com/jxmked/Repo_Clone/tree/gh-pages``` - gh-pages branch
- ```https://github.com/jxmked/Script-Thing``` - Main branch### Function has been used.
- `mkdir`
- `curl`
- `git`
- `mv`#### **Created with love and frustration** by [Jovan](https://facebook.com/deguia25)
###### Model:SH-CSA-0009 - Advance Repository Cloner API