Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect remote repository when used with 2 distinct remotes #18

Open
SAtacker opened this issue Jan 3, 2023 · 2 comments
Open

Incorrect remote repository when used with 2 distinct remotes #18

SAtacker opened this issue Jan 3, 2023 · 2 comments

Comments

@SAtacker
Copy link

SAtacker commented Jan 3, 2023

Description

I have configured my repository to have 2 remotes.

$ git remote -v
origin	[email protected]:STEllAR-GROUP/hpx.git (fetch)
origin	[email protected]:STEllAR-GROUP/hpx.git (push)
satacker	[email protected]:SAtacker/hpx.git (fetch)
satacker	[email protected]:SAtacker/hpx.git (push)

However I get the following link when I am checked out on a branch tracking satacker remote and not origin.
image
Using all the Get* commands I am not getting the expected link.

Link I get - https://github.com/STEllAR-GROUP/hpx/blob/38f850e99cba5a3f65555d02c39aa3c1479c1914/examples/1d_stencil/1d_stencil_4_parallel_any_sender.cpp#L157-L199

Link I expect: https://github.com/SAtacker/hpx/blob/38f850e99cba5a3f65555d02c39aa3c1479c1914/examples/1d_stencil/1d_stencil_4_parallel_any_sender.cpp#L157-L199

Thanks for this plugin!

@Sleepful
Copy link

Sleepful commented Jun 6, 2023

perhaps for now you can simply clone the repo in a new directory where you have a single git remote, for navigation/copy_pasting purposes 🤔
would be awesome to support multiple remotes

@Sleepful
Copy link

Sleepful commented Jun 6, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants