summaryrefslogtreecommitdiff
path: root/public/git-go-pre-commit.md
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-10-13 16:26:12 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-10-13 16:26:12 -0400
commit8303f7626e61d6aeadc5ccf04bda12474acb6cd5 (patch)
tree2703760be847bb3510f3ffbeea4dbdb0a9e2fb2f /public/git-go-pre-commit.md
parent302323180f66e688b814c47197dc7adac99de679 (diff)
spell check
Diffstat (limited to 'public/git-go-pre-commit.md')
-rw-r--r--public/git-go-pre-commit.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/git-go-pre-commit.md b/public/git-go-pre-commit.md
index 74dca28..84137cc 100644
--- a/public/git-go-pre-commit.md
+++ b/public/git-go-pre-commit.md
@@ -7,7 +7,7 @@ One of the (many) wonderful things about the Go programming language
is the `gofmt` tool, which formats your source in a canonical way. I
thought it would be nice to integrate this in my `git` workflow by
adding it in a pre-commit hook to automatically format my source code
-when I commited it.
+when I committed it.
The Go distribution contains a git pre-commit hook that checks whether
the source code is formatted, and aborts the commit if it isn't. I
@@ -15,7 +15,7 @@ don't remember if I was aware of this at the time (or if it even
existed at the time, or if it is new), but I wanted it to go ahead and
format the code for me.
-I found a few solutions online, but they wre all missing
+I found a few solutions online, but they were all missing
something—support for partial commits. I frequently use `git add
-p`/`git gui` to commit a subset of the changes I've made to a file,
the existing solutions would end up adding the entire set of changes