From 190bfd6aa60022afd0ef830342cfb07e33c45f37 Mon Sep 17 00:00:00 2001 From: Lukasz Kokot Date: Sun, 28 Oct 2018 20:55:22 -0400 Subject: Fix spelling and grammar in docs and example Signed-off-by: Lukasz Kokot --- _examples/commit/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '_examples/commit') diff --git a/_examples/commit/main.go b/_examples/commit/main.go index 556cb9c..ec296b9 100644 --- a/_examples/commit/main.go +++ b/_examples/commit/main.go @@ -12,13 +12,13 @@ import ( "gopkg.in/src-d/go-git.v4/plumbing/object" ) -// Basic example of how to commit changes to the current branch to an existent +// Basic example of how to commit changes to the current branch to an existing // repository. func main() { CheckArgs("") directory := os.Args[1] - // Opens an already existent repository. + // Opens an already existing repository. r, err := git.PlainOpen(directory) CheckIfError(err) @@ -44,7 +44,7 @@ func main() { fmt.Println(status) - // Commits the current staging are to the repository, with the new file + // 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. Info("git commit -m \"example go-git commit\"") -- cgit