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

How to change the remote name 'origin' to a different one? #109

Open
xferroMinsait opened this issue Mar 7, 2023 · 0 comments
Open

How to change the remote name 'origin' to a different one? #109

xferroMinsait opened this issue Mar 7, 2023 · 0 comments

Comments

@xferroMinsait
Copy link

We don't have the [remote "origin"] tag in the .git/config file
We have a different remote name (<> than "origin") (we renamed it recently)
We defined this remote using VS 2017:
image

When we try to publish a feature to the remote server (for instance), we get this error:
image

We tried to remove the [gitflow] tags of the .git/config file in order to re-initialize the GitFlow tool. With no success.

We want to rename the remote because we will have two different remote servers (we will use gitflow always with one of them (the "development server") and push the master branch after the releases to the customers' server). Obviously, we can still use 'origin' for the "development server"... :-)

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

1 participant