docs/contributing/fork-the-project.md
Community members wishing to contribute code to Consul must fork the Consul project
(your-github-username/consul). Branches pushed to that fork can then be submitted
as pull requests to the upstream project (hashicorp/consul).
To locally clone the repo so that you can pull the latest from the upstream project
(hashicorp/consul) and push changes to your own fork (your-github-username/consul):
your-github-username/consul)hashicorp/consul repository and cd into the folderhashicorp/consul the upstream remote rather than origin:
git remote rename origin upstream.origin remote. For example:
git remote add origin https://github.com/myusername/consulgit checkout -t -b new-featuregit push -u origin new-feature