[PATCH] D67262: [git-llvm] Do not reinvent `@{upstream}`
David Zarzycki via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 8 04:10:44 PDT 2019
davezarzycki closed this revision.
davezarzycki added a comment.
Hi @leonardchan,
1. Working with and configuring upstream branches is fundamental to using git.
2. It was a mistake for the `git-llvm` script to assume that the remote named "origin" is the official LLVM repository. For many people, "origin" is probably correct, but for many others, and the remote named origin depends on which repository was cloned first.
3. Your local branch isn't setup correctly. You can fix that with `git branch --set-upstream-to=origin/master` (assuming that `origin` is the correct name of the remote server in your git repository).
4. When you use `git branch` or `git checkout`, please remember to use `--track` if that is what you want/need.
I hope this helps,
Dave
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67262/new/
https://reviews.llvm.org/D67262
More information about the llvm-commits
mailing list