summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Contreras <alberto.contreras@canonical.com>2022-07-29 01:06:28 +0200
committerGitHub <noreply@github.com>2022-07-28 17:06:28 -0600
commit0f3f814de78549d7af91b9b46603e67ac3db2224 (patch)
tree59771ff1d1f45090d9201e99af4b5831dfed7b6e
parent7b12b7f6c97804aaa54ca67d697f65ae4eb7ec2a (diff)
downloadcloud-init-git-0f3f814de78549d7af91b9b46603e67ac3db2224.tar.gz
docs: Align git remotes with uss-tableflip setup (#1624)
`uss-tableflip/scripts/upstream-release` assumes Canonical remote is called `upstream` and your personal remote `origin`. Fix upstream git URI.
-rw-r--r--CONTRIBUTING.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
index 50ca7cfb..62628fd5 100644
--- a/CONTRIBUTING.rst
+++ b/CONTRIBUTING.rst
@@ -72,10 +72,10 @@ Follow these steps to submit your first pull request to cloud-init:
.. code:: sh
- git clone git://github.com/canonical/cloud-init
+ git clone git@github.com:GH_USER/cloud-init.git
cd cloud-init
- git remote add GH_USER git@github.com:GH_USER/cloud-init.git
- git push GH_USER main
+ git remote add upstream git@github.com:canonical/cloud-init.git
+ git push origin main
* Read through the cloud-init `Code Review Process`_, so you understand
how your changes will end up in cloud-init's codebase.
@@ -144,7 +144,7 @@ Do these things for each feature or bug
* Push your changes to your personal GitHub repository::
- git push -u GH_USER my-topic-branch
+ git push -u origin my-topic-branch
* Use your browser to create a pull request: