Skip to content

maxgio92/git-dclone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

git-dclone

Clone git repository with consistent directory hierarchy:

  • Provider
  • Owner
  • Repository name

Usage

git dclone URL

URL supports SSH and HTTPS scheme.
The SRC_DIR environment variable sets the workspace directory name where repositories should be cloned.

Example

$ git dclone https://github.com/maxgio92/git-dclone.git
...
$ tree -L 3 src 
src
└── github.com
    └── maxgio92
        └── git-dclone

Install

git clone https://github.com/maxgio92/git-dclone.git
export PATH=$PATH:~/.git-dclone"
./git-dclone/install.sh

About

git dclone clones a repository building a consistent directory hierarchy

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages