Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 648 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 648 Bytes

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