Skip to content

Commit b78b984

Browse files
committed
Update 'git push' command in GettingStarted guide
'git push' command, without any other arguments, can do different things depending on the local configuration of Git. This patch updates the 'git push' command with extra arguments to be more resilient to any local configuration. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D79964
1 parent 7096e04 commit b78b984

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/docs/Phabricator.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,10 @@ the following:
212212

213213
::
214214

215-
git pull --rebase origin master
215+
git pull --rebase https://github.com/llvm/llvm-project.git master
216216
git show # Ensure the patch looks correct.
217217
ninja check-$whatever # Rerun the appropriate tests if needed.
218-
git push
218+
git push https://github.com/llvm/llvm-project.git HEAD:master
219219

220220
Or
221221

0 commit comments

Comments
 (0)