`git-checkout-pr` giving wrong code
See original GitHub issueDescription
The code given on the Checkout with Git
http and ssh boxes is incorrect. The third line should read git switch --track upstream/zb140/refactor-compose-files
. Upstream instead of the repo owners name because in line one we added upstream as the name of the remote. (Or line one should be changed to be the repo owners name instead of upstream)
git remote add upstream git@github.com:games-on-whales/gow.git
git fetch upstream zb140/refactor-compose-files
git switch --track games-on-whales/zb140/refactor-compose-files
How to replicate the issue
Open a PR and click the button to pop out the git-checkout-pr
box
Extension version
22.8.23
Browser(s) used
Chrome 104
Issue Analytics
- State:
- Created a year ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Google Authenticator App keeps giving the wrong codes.
I have an account I'm locked out of and i cant get back into because the google authenticator app wont give me the...
Read more >How can I check out a GitHub pull request with git?
To fetch a remote PR into your local repo, git fetch origin pull/$ID/head:$BRANCHNAME. where $ID is the pull request id and $BRANCHNAME is...
Read more >How to fix the Google Authenticator Wrong Code Try Again error
Authenticator # Error #WrongCode I've been getting some comments from you guys on my previous video on how to transfer the Google ...
Read more >How to fix the Google Authenticator Wrong Code ... - YouTube
Authenticator # Error #WrongCodeThis will be a really quick video in which I want to show you how to fix the " wrong...
Read more >Authenticator produces wrong codes during setup of new entries
What steps will reproduce the problem? Go to auth setup page (Google, Amazon AWS, ...) Scan code or enter code manually New entry...
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 FreeTop 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
Top GitHub Comments
@Sparticuz if I am not mistaken there is reason we wrote it like this. Since if upstream exists the first line will error so we need to write it again on the second line.
Unless I am not understanding your issue. Please post a url as stated in the issue template.
Upstream is used when you are not the owner or collaborator on the repo.
Basically, the commands given, are creating one remote, then trying to pull from a different remote