瀏覽代碼

Corrected curl call in working with Git docs.

Smile 2 年之前
父節點
當前提交
5ec64fa481
共有 1 個文件被更改,包括 1 次插入1 次删除
  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::
 
     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
 to it. At this point you can run the tests or do anything else you need to