add clone_gh function
This commit is contained in:
parent
96e4e5dd03
commit
09cbfa0a52
@ -93,5 +93,12 @@ exist_gh() { # [DIRECTORY]
|
||||
#
|
||||
git.io() {curl -i -s http://git.io -F "url=$1" | grep "Location" | cut -f 2 -d " "}
|
||||
|
||||
# clone_gh [AUTHOR/NAME_OF_REPO] [DIRECTORY]
|
||||
#
|
||||
# use this when clone repo
|
||||
clone_gh() { # [AUTHOR/NAME_OF_REPO]
|
||||
git clone git@github.com:${1}.git ${2}
|
||||
}
|
||||
|
||||
# End Functions #############################################################
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user