From 913ffbcd62c5e95c58a1e32c24ddb8a1830fb243 Mon Sep 17 00:00:00 2001 From: Wang Jie Date: Thu, 28 Sep 2017 02:00:33 +0800 Subject: [PATCH] Update FAQ.md (#4718) --- opensource/FAQ.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/opensource/FAQ.md b/opensource/FAQ.md index 84cecb5bf5..078623e91c 100644 --- a/opensource/FAQ.md +++ b/opensource/FAQ.md @@ -14,7 +14,7 @@ troubleshooting problems in your code contribution. - [How should I comment my code?](FAQ.md#how-should-i-comment-my-code) - [How do I rebase my feature branch?](FAQ.md#how-do-i-rebase-my-feature-branch) -## How do I set my signature +## How do I set my signature? 1. Change to the root of your `docker-fork` repository. @@ -34,7 +34,7 @@ troubleshooting problems in your code contribution. $ git config --local user.email "emailname@mycompany.com" ``` -## How do I track changes from the docker repo upstream +## How do I track changes from the docker repo upstream? Set your local repo to track changes upstream, on the `docker` repository. @@ -50,12 +50,12 @@ Set your local repo to track changes upstream, on the `docker` repository. $ git remote add upstream https://github.com/moby/moby.git ``` -## How do I format my Go code +## How do I format my Go code? Run `gofmt -s -w filename.go` on each changed file before committing your changes. Most [editors have plug-ins](https://github.com/golang/go/wiki/IDEsAndTextEditorPlugins) that do the formatting automatically. -## What is the pre-pull request checklist +## What is the pre-pull request checklist? * Sync and cleanly rebase on top of Docker's `master`; do not mix multiple branches in the pull request. @@ -137,7 +137,7 @@ force the previous change to be overwritten. $ git push -f origin my-keen-feature ``` -## How do I update vendor package from upstream ? +## How do I update vendor package from upstream? 1. If you are not using the development container, download the [vndr](https://github.com/LK4D4/vndr) vendoring tool. The `vndr`