[llvm] b78b984 - Update 'git push' command in GettingStarted guide

Diego Caballero via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 11:26:04 PDT 2020


Author: Diego Caballero
Date: 2020-06-02T21:25:29+03:00
New Revision: b78b98491adad1390c23a78a1d207d965d5c88f3

URL: https://github.com/llvm/llvm-project/commit/b78b98491adad1390c23a78a1d207d965d5c88f3
DIFF: https://github.com/llvm/llvm-project/commit/b78b98491adad1390c23a78a1d207d965d5c88f3.diff

LOG: 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

Added: 
    

Modified: 
    llvm/docs/Phabricator.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/Phabricator.rst b/llvm/docs/Phabricator.rst
index 0a4b1e74c305..54789df71dd2 100644
--- a/llvm/docs/Phabricator.rst
+++ b/llvm/docs/Phabricator.rst
@@ -212,10 +212,10 @@ the following:
 
 ::
 
-  git pull --rebase origin master
+  git pull --rebase https://github.com/llvm/llvm-project.git master
   git show # Ensure the patch looks correct.
   ninja check-$whatever # Rerun the appropriate tests if needed.
-  git push
+  git push https://github.com/llvm/llvm-project.git HEAD:master
 
 Or
 


        


More information about the llvm-commits mailing list