8000 repository.ConfigScoped and worktree.Commit with empty CommitOptions by mcuadros · Pull Request #75 · go-git/go-git · GitHub
[go: up one dir, main page]

Skip to content

repository.ConfigScoped and worktree.Commit with empty CommitOptions #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 18 additions & 17 deletions _examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,27 @@
Here you can find a list of annotated _go-git_ examples:

### Basic
- [showcase](showcase/main.go) - A small showcase of the capabilities of _go-git_
- [open](open/main.go) - Opening a existing repository cloned by _git_
- [clone](clone/main.go) - Cloning a repository
- [showcase](showcase/main.go) - A small showcase of the capabilities of _go-git_.
- [open](open/main.go) - Opening a existing repository cloned by _git_.
- [clone](clone/main.go) - Cloning a repository.
- [username and password](clone/auth/basic/username_password/main.go) - Cloning a repository
using a username and password
using a username and password.
- [personal access token](clone/auth/basic/access_token/main.go) - Cloning
a repository using a GitHub personal access token
- [commit](commit/main.go) - Commit changes to the current branch to an existent repository
- [push](push/main.go) - Push repository to default remote (origin)
- [pull](pull/main.go) - Pull changes from a remote repository
- [checkout](checkout/main.go) - Check out a specific commit from a repository
- [log](log/main.go) - Emulate `git log` command output iterating all the commit history from HEAD reference
a repository using a GitHub personal access token.
- [commit](commit/main.go) - Commit changes to the current branch to an existent repository.
- [push](push/main.go) - Push repository to default remote (origin).
- [pull](pull/main.go) - Pull changes from a remote repository.
- [checkout](checkout/main.go) - Check out a specific commit from a repository.
- [log](log/main.go) - Emulate `git log` command output iterating all the commit history from HEAD reference.
- [branch](branch/main.go) - How to create and remove branches or any other kind of reference.
- [tag](tag/main.go) - List/print repository tags
- [remotes](remotes/main.go) - Working with remotes: adding, removing, etc
- [progress](progress/main.go) - Printing the progress information from the sideband
- [revision](revision/main.go) - Solve a revision into a commit
- [submodule](submodule/main.go) - Submodule update remote
- [tag](tag/main.go) - List/print repository tags.
- [remotes](remotes/main.go) - Working with remotes: adding, removing, etc.
- [progress](progress/main.go) - Printing the progress information from the sideband.
- [revision](revision/main.go) - Solve a revision into a commit.
- [config](config/main.go) - Explains how to work with config files.
- [submodule](submodule/main.go) - Submodule update remote.

### Advanced
- [custom_http](custom_http/main.go) - Replacing the HTTP client using a custom one
- [custom_http](custom_http/main.go) - Replacing the HTTP client using a custom one.
- [clone with context](context/main.go) - Cloning a repository with graceful cancellation.
- [storage](storage/README.md) - Implementing a custom storage system
- [storage](storage/README.md) - Implementing a custom storage system.
3 changes: 2 additions & 1 deletion _examples/commit/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ func main() {

// Commits the current staging area to the repository, with the new file
// just created. We should provide the object.Signature of Author of the
// commit.
// commit Since version 5.0.1, we can omit the Author signature, being read
// from the git config files.
Info("git commit -m \"example go-git commit\"")
commit, err := w.Commit("example go-git commit", &git.CommitOptions{
Author: &object.Signature{
Expand Down
73 changes: 0 additions & 73 deletions _examples/config/main.go

This file was deleted.

Loading
0