소스 검색

Improved "rebase" example for upstream changes in working with Git docs.

Smile 2 년 전
부모
커밋
83cdcac355
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

@@ -196,7 +196,7 @@ When upstream (``django/django``) has changed, you should rebase your work. To
 do this, use::
 
   git fetch upstream
-  git rebase
+  git rebase upstream/main
 
 The work is automatically rebased using the branch you forked on, in the
 example case using ``upstream/main``.