aboutsummaryrefslogtreecommitdiffstats
path: root/_examples/branch
diff options
context:
space:
mode:
Diffstat (limited to '_examples/branch')
-rw-r--r--_examples/branch/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/_examples/branch/main.go b/_examples/branch/main.go
index fa1ad01..ff33ead 100644
--- a/_examples/branch/main.go
+++ b/_examples/branch/main.go
@@ -28,7 +28,7 @@ func main() {
// Create a new plumbing.HashReference object with the name of the branch
// and the hash from the HEAD. The reference name should be a full reference
- // name and now a abbreviated one, as is used on the git cli.
+ // name and not an abbreviated one, as is used on the git cli.
//
// For tags we should use `refs/tags/%s` instead of `refs/heads/%s` used
// for branches.