There are several ways to clone a repository from github. Similar from other providers, such as bitbucket, gitlab, etc.
https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols
Mostly, we use
- http
- ssh
There are several ways to clone a repository from github. Similar from other providers, such as bitbucket, gitlab, etc.
https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols
Mostly, we use
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| (function() { | |
| var keywords = prompt().toLowerCase().split(/\s*,\s*/); | |
| var kwWords = keywords.filter(function(keyword) { | |
| return !keyword.startsWith('#') | |
| }); | |
| var kwTags = _.difference(keywords, kwWords).map(function(tag) { | |
| return tag.substr(1); | |
| }); | |
| // build repos |
| package main | |
| import ( | |
| "fmt" | |
| ) | |
| type Fetcher interface { | |
| // Fetch returns the body of URL and | |
| // a slice of URLs found on that page. | |
| Fetch(url string) (body string, urls []string, err error) |