[PATCH] D80088: [llvm][docs] Add step by step git to GettingStarted
Mehdi AMINI via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 17 17:02:18 PDT 2020
mehdi_amini added inline comments.
================
Comment at: llvm/docs/GettingStarted.rst:511
+ # Check that the intended push will do the right thing.
+ % git push origin HEAD:master --dry-run
+ # Push to Github.
----------------
This isn't super useful I believe, this only shows for example something like:
```
$ git push gh HEAD:master --dry-run
To github.com:llvm/llvm-project.git
ffc6e593d271..e88c68267154 HEAD -> master
```
What about instead:
```
$ git log origin/master...HEAD --oneline
```
which shows the list of commits about to be pushed?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80088/new/
https://reviews.llvm.org/D80088
More information about the llvm-commits
mailing list