-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: write documentation for release 0.2.0 (#45)
- Loading branch information
1 parent
e03726d
commit b8e205b
Showing
9 changed files
with
199 additions
and
26 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
icon: material/sheep | ||
status: new | ||
--- | ||
|
||
# Cloning a Repository | ||
|
||
[:simple-git:{ .git-icon } Git Documentation](https://git-scm.com/docs/git-clone) | ||
|
||
Clone a repository by its provided URL into a newly created directory and check out an initial branch forked from the cloned repository’s default branch. | ||
|
||
## Clone everything :material-new-box:{.new-feature title="Feature added on the 10th March 2023"} | ||
|
||
Calling `Clone` will result in a repository containing all remote-tracking branches, tags, and a complete history. | ||
|
||
```{ .go .select linenums="1" } | ||
package main | ||
|
||
func main() { | ||
client, _ := git.NewClient() | ||
|
||
_, err := client.Clone("https://github.com/purpleclay/gitz") | ||
if err != nil { | ||
log.Fatal("failed to clone repository") | ||
} | ||
} | ||
``` |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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