Skip to content

shiyubi123/gitdo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitdo

A tool that allows you clone git repository from gitlab or github.

install

I recommend you use global install for bin command then you can clone your repo in anywhere you want conveniently.

$ npm install gitdo -g

Pre-work

There are three options you need to know for clone, you can set them in command line interaction:

GITHUB_ACCESS_TOKEN:

​ You can create the github token from your github Setting --> Developer settings --> Personal access tokens

github-token.jpg

GITLAB_ACCESS_TOKEN:

​ The gitlab personal token,you can create and get it through gitlab --> setting --> Access Tokens

gitlab-token.png

GITLAB_URL:

​ The url of the gitlab that you want down repository from.

Usage

You can use bin :

gitdo

-e --edit: Edit your git config.

-c --clean: Clean your git config.

other

Cause the clone is through your personal token,so the repo will automatically link to your git.

About

A tool that clone git repositories by nodejs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published