File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -81,13 +81,19 @@ You will only need to execute these steps once:
81
81
$ cd cpython
82
82
$ git remote add upstream git@github.com:python/cpython.git
83
83
84
- 7. Verify that your setup is correct::
84
+ 7. Configure ``git `` to pull main from the ``upstream `` remote::
85
+
86
+ $ git config --local branch.main.remote upstream
87
+
88
+ 8. Verify that your setup is correct::
85
89
86
90
$ git remote -v
87
91
origin git@github.com:<your-username>/cpython.git (fetch)
88
92
origin git@github.com:<your-username>/cpython.git (push)
89
93
upstream git@github.com:python/cpython.git (fetch)
90
94
upstream git@github.com:python/cpython.git (push)
95
+ $ git config branch.main.remote
96
+ upstream
91
97
92
98
If you did everything correctly, you should now have a copy of the code
93
99
in the ``cpython `` directory and two remotes that refer to your own GitHub fork
You can’t perform that action at this time.
0 commit comments