Meaning of origin and upstream unclear
See original GitHub issueThis looks awesome.
I’m a bit confused about the usage, though. I have an upstream repository to which I want to monitor the PRs, but never push to, and I have my own fork.
Should remote.Name
be "origin"
or "upstream"
?
If I set remote.Name
to "upstream"
I can see the PRs for upstream.
Maybe the use-case of looking at PRs from upstream while only pushing to origin is not supported yet?
Either way, if I do set the remote to "upstream"
I can see the PRs but not check them out.
git log:
> git fetch
> git status -z -u
> git symbolic-ref --short HEAD
> git rev-parse master
> git rev-parse --symbolic-full-name master@{u}
> git rev-list --left-right master...refs/remotes/origin/master
> git for-each-ref --format %(refname) %(objectname) --sort -committerdate
> git remote --verbose
> git show :.vscode/settings.json
> git check-ignore -z --stdin
> git show :.vscode/settings.json
> git status -z -u
> git symbolic-ref --short HEAD
> git rev-parse master
> git rev-parse --symbolic-full-name master@{u}
> git rev-list --left-right master...refs/remotes/origin/master
> git for-each-ref --format %(refname) %(objectname) --sort -committerdate
> git remote --verbose
> git show :.vscode/settings.json
> git checkout -q dev-fix-issue-11113
error: pathspec 'dev-fix-issue-11113' did not match any file(s) known to git.
This shows origin, not upstream.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
What is the difference between origin and upstream on GitHub?
upstream generally refers to the original repo that you have forked (see also "Definition of “ downstream ” and “ upstream ”" for...
Read more >Git Upstream and Downstream - javatpoint
Data will flow downstream naturally. In the reference of time/history, it can be unclear, because upstream in time means downstream in history, and...
Read more >The most confusing git terminology | Mark's Blog
I.e. the “upstream” of a remote-tracking branch is the branch of the same name on “origin”. Is that right? commit. As a noun....
Read more >Fix Git's "fatal: no upstream branch" error quickly example
Here's a quick fix for Git's "fatal: The current branch has no upstream branch" error, along with a brief explanation of why this...
Read more >Allow external pull requests to use secret variables from the ...
It's still unclear what to do if a variable exists in upstream but as a ... Pass the PR origin's Repository Settings alongside...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@amueller Sorry for my late answer. There are two configuration options for this:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.