Преглед на файлове

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``.