Browse Source

Corrected curl call in working with Git docs.

Smile 2 years ago
parent
commit
5ec64fa481
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/internals/contributing/writing-code/working-with-git.txt

+ 1 - 1
docs/internals/contributing/writing-code/working-with-git.txt

@@ -255,7 +255,7 @@ patches. Those patches will typically exist as pull requests on GitHub and
 can be easily integrated into your local repository::
 can be easily integrated into your local repository::
 
 
     git checkout -b pull_xxxxx upstream/main
     git checkout -b pull_xxxxx upstream/main
-    curl https://github.com/django/django/pull/xxxxx.patch | git am
+    curl -L https://github.com/django/django/pull/xxxxx.patch | git am
 
 
 This will create a new branch and then apply the changes from the pull request
 This will create a new branch and then apply the changes from the pull request
 to it. At this point you can run the tests or do anything else you need to
 to it. At this point you can run the tests or do anything else you need to