Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ad-m/github-clone

A script to automatic set "upstream" remote to parent in GitHub
https://github.com/ad-m/github-clone

Last synced: about 1 month ago
JSON representation

A script to automatic set "upstream" remote to parent in GitHub

Awesome Lists containing this project

README

        

# github-clone
A script to automatic set "upstream" remote to parent in GitHub

# Installation

1. ```git clone https://github.com/ad-m/github-clone.git github-clone```
2. ```sudo pip install -R github-clone/requirements.txt```
3. ```git config --global alias.gh "!python {path}/clone-github.py"```

# Usage

```
git gh [git_url] [output_dir]
```

# Example
```
git gh [email protected]:ad-m/github-clone.git github-clone
git gh https://github.com/ad-m/github-clone.git github-clone
```