summaryrefslogtreecommitdiff
path: root/development.md
diff options
context:
space:
mode:
authorMike Danese <mikedanese@gmail.com>2015-10-07 14:04:55 -0700
committerMike Danese <mikedanese@gmail.com>2015-10-07 14:04:55 -0700
commit088d1f9bc5e63576c0dc7b071ab53bbe2279f036 (patch)
tree743ece19928fca1010835a3c787febd18079712a /development.md
parent7ddf87cdfd9ccac0fa25c8f515d4ebf8c14f848c (diff)
parent8589eb45f56e423954754d2a61c3991d27fd4e5c (diff)
Merge pull request #15006 from madhusudancs/move-hooks-to-commit
Move the hooks section to the commit section.
Diffstat (limited to 'development.md')
-rw-r--r--development.md20
1 files changed, 10 insertions, 10 deletions
diff --git a/development.md b/development.md
index 75cb2365..87fb02d5 100644
--- a/development.md
+++ b/development.md
@@ -89,6 +89,16 @@ git remote set-url --push upstream no_push
### Committing changes to your fork
+Before committing any changes, please link/copy these pre-commit hooks into your .git
+directory. This will keep you from accidentally committing non-gofmt'd go code.
+
+```sh
+cd kubernetes/.git/hooks/
+ln -s ../../hooks/pre-commit .
+```
+
+Then you can commit your changes and push them to your fork:
+
```sh
git commit
git push -f origin myfeature
@@ -203,16 +213,6 @@ It is sometimes expedient to manually fix the /Godeps/godeps.json file to minimi
Please send dependency updates in separate commits within your PR, for easier reviewing.
-## Hooks
-
-Before committing any changes, please link/copy these hooks into your .git
-directory. This will keep you from accidentally committing non-gofmt'd go code.
-
-```sh
-cd kubernetes/.git/hooks/
-ln -s ../../hooks/pre-commit .
-```
-
## Unit tests
```sh