|
3 | 3 | Here you can find a list of annotated _go-git_ examples:
|
4 | 4 |
|
5 | 5 | ### Basic
|
6 |
| -- [showcase](showcase/main.go) - A small showcase of the capabilities of _go-git_ |
7 |
| -- [open](open/main.go) - Opening a existing repository cloned by _git_ |
8 |
| -- [clone](clone/main.go) - Cloning a repository |
| 6 | +- [showcase](showcase/main.go) - A small showcase of the capabilities of _go-git_. |
| 7 | +- [open](open/main.go) - Opening a existing repository cloned by _git_. |
| 8 | +- [clone](clone/main.go) - Cloning a repository. |
9 | 9 | - [username and password](clone/auth/basic/username_password/main.go) - Cloning a repository
|
10 |
| - using a username and password |
| 10 | + using a username and password. |
11 | 11 | - [personal access token](clone/auth/basic/access_token/main.go) - Cloning
|
12 |
| - a repository using a GitHub personal access token |
13 |
| -- [commit](commit/main.go) - Commit changes to the current branch to an existent repository |
14 |
| -- [push](push/main.go) - Push repository to default remote (origin) |
15 |
| -- [pull](pull/main.go) - Pull changes from a remote repository |
16 |
| -- [checkout](checkout/main.go) - Check out a specific commit from a repository |
17 |
| -- [log](log/main.go) - Emulate `git log` command output iterating all the commit history from HEAD reference |
| 12 | + a repository using a GitHub personal access token. |
| 13 | +- [commit](commit/main.go) - Commit changes to the current branch to an existent repository. |
| 14 | +- [push](push/main.go) - Push repository to default remote (origin). |
| 15 | +- [pull](pull/main.go) - Pull changes from a remote repository. |
| 16 | +- [checkout](checkout/main.go) - Check out a specific commit from a repository. |
| 17 | +- [log](log/main.go) - Emulate `git log` command output iterating all the commit history from HEAD reference. |
18 | 18 | - [branch](branch/main.go) - How to create and remove branches or any other kind of reference.
|
19 |
| -- [tag](tag/main.go) - List/print repository tags |
20 |
| -- [remotes](remotes/main.go) - Working with remotes: adding, removing, etc |
21 |
| -- [progress](progress/main.go) - Printing the progress information from the sideband |
22 |
| -- [revision](revision/main.go) - Solve a revision into a commit |
23 |
| -- [submodule](submodule/main.go) - Submodule update remote |
| 19 | +- [tag](tag/main.go) - List/print repository tags. |
| 20 | +- [remotes](remotes/main.go) - Working with remotes: adding, removing, etc. |
| 21 | +- [progress](progress/main.go) - Printing the progress information from the sideband. |
| 22 | +- [revision](revision/main.go) - Solve a revision into a commit. |
| 23 | +- [config](config/main.go) - Explains how to work with config files. |
| 24 | +- [submodule](submodule/main.go) - Submodule update remote. |
24 | 25 |
|
25 | 26 | ### Advanced
|
26 |
| -- [custom_http](custom_http/main.go) - Replacing the HTTP client using a custom one |
| 27 | +- [custom_http](custom_http/main.go) - Replacing the HTTP client using a custom one. |
27 | 28 | - [clone with context](context/main.go) - Cloning a repository with graceful cancellation.
|
28 |
| -- [storage](storage/README.md) - Implementing a custom storage system |
| 29 | +- [storage](storage/README.md) - Implementing a custom storage system. |
0 commit comments