Use git-cdir
to clone a repository and change directory in one fell swoop!
git-cdir <repo-url> [<dir>]
$ 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`
npm install --global git-cdir
This project is MIT LICENSED