···33Here you can find a list of annotated _go-git_ examples:
4455### Basic
66-- [showcase](showcase/main.go) - A small showcase of the capabilities of _go-git_
77-- [open](open/main.go) - Opening a existing repository cloned by _git_
88-- [clone](clone/main.go) - Cloning a repository
66+- [showcase](showcase/main.go) - A small showcase of the capabilities of _go-git_.
77+- [open](open/main.go) - Opening a existing repository cloned by _git_.
88+- [clone](clone/main.go) - Cloning a repository.
99 - [username and password](clone/auth/basic/username_password/main.go) - Cloning a repository
1010- using a username and password
1010+ using a username and password.
1111 - [personal access token](clone/auth/basic/access_token/main.go) - Cloning
1212- a repository using a GitHub personal access token
1313-- [commit](commit/main.go) - Commit changes to the current branch to an existent repository
1414-- [push](push/main.go) - Push repository to default remote (origin)
1515-- [pull](pull/main.go) - Pull changes from a remote repository
1616-- [checkout](checkout/main.go) - Check out a specific commit from a repository
1717-- [log](log/main.go) - Emulate `git log` command output iterating all the commit history from HEAD reference
1212+ a repository using a GitHub personal access token.
1313+- [commit](commit/main.go) - Commit changes to the current branch to an existent repository.
1414+- [push](push/main.go) - Push repository to default remote (origin).
1515+- [pull](pull/main.go) - Pull changes from a remote repository.
1616+- [checkout](checkout/main.go) - Check out a specific commit from a repository.
1717+- [log](log/main.go) - Emulate `git log` command output iterating all the commit history from HEAD reference.
1818- [branch](branch/main.go) - How to create and remove branches or any other kind of reference.
1919-- [tag](tag/main.go) - List/print repository tags
2020-- [remotes](remotes/main.go) - Working with remotes: adding, removing, etc
2121-- [progress](progress/main.go) - Printing the progress information from the sideband
2222-- [revision](revision/main.go) - Solve a revision into a commit
2323-- [submodule](submodule/main.go) - Submodule update remote
1919+- [tag](tag/main.go) - List/print repository tags.
2020+- [remotes](remotes/main.go) - Working with remotes: adding, removing, etc.
2121+- [progress](progress/main.go) - Printing the progress information from the sideband.
2222+- [revision](revision/main.go) - Solve a revision into a commit.
2323+- [config](config/main.go) - Explains how to work with config files.
2424+- [submodule](submodule/main.go) - Submodule update remote.
24252526### Advanced
2626-- [custom_http](custom_http/main.go) - Replacing the HTTP client using a custom one
2727+- [custom_http](custom_http/main.go) - Replacing the HTTP client using a custom one.
2728- [clone with context](context/main.go) - Cloning a repository with graceful cancellation.
2828-- [storage](storage/README.md) - Implementing a custom storage system
2929+- [storage](storage/README.md) - Implementing a custom storage system.
+2-1
_examples/commit/main.go
···46464747 // Commits the current staging area to the repository, with the new file
4848 // just created. We should provide the object.Signature of Author of the
4949- // commit.
4949+ // commit Since version 5.0.1, we can omit the Author signature, being read
5050+ // from the git config files.
5051 Info("git commit -m \"example go-git commit\"")
5152 commit, err := w.Commit("example go-git commit", &git.CommitOptions{
5253 Author: &object.Signature{