GitHubRepo
GitHub
GitHub represents a github repo name like nodejs/node
.
GitURL
method GitURL( ā¶ GitURL)
Long form of .url
clone
Clones the GitHub.
GitHub<spitsh/spitsh>.clone.cd;
say ${ $*git status };
Parameter | Description |
:$to | Path to clone the repo to |
name
method name( ā¶ Str)
Returns the name part of the GitHub.
say GitHub<nodejs/node>.name #-> node
owner
method owner( ā¶ Str)
Returns the owner part of the GitHub.
say GitHub<nodejs/node>.owner #-> nodejs
url
method url( ā¶ GitURL)
Returns the https url for the repo
GitHub<nodejs/node>.url #-> https://github.com/nodejs/node.git