Created
January 13, 2019 22:09
-
-
Save daniel12fsp/2802abc915cf3d5b59523eb225dfb25b to your computer and use it in GitHub Desktop.
Download repo and open editor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| cd /tmp/ | |
| git clone $1; | |
| #get name of repo | |
| _repoFolder=$(echo $1 | cut -d "/" -f 5) | |
| repoFolder=$(echo $_repoFolder | cut -d "." -f 1) | |
| cd $repoFolder; | |
| code $repoFolder; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment