Skip to content

Clone a repository and change directory in one fell swoop

License

Notifications You must be signed in to change notification settings

CEOehis/git-cdir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

git-cdir

Use git-cdir to clone a repository and change directory in one fell swoop!

Usage

git-cdir <repo-url> [<dir>]

Examples

$ git-cdir https://github.com/CEOehis/git-cdir
# clones https://github.com/CEOehis/git-cdir into a directory named `git-cdir`
# and changes the working directory to `git-cdir`

$ git-cdir https://github.com/CEOehis/git-cdir local-dir
# clones https://github.com/CEOehis/git-cdir into a directory named `local-dir`
# and changes the working directory to `local-dir`

Installation

NPM

npm install --global git-cdir

License

This project is MIT LICENSED

About

Clone a repository and change directory in one fell swoop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages