-
Notifications
You must be signed in to change notification settings - Fork 53
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
Allow changing model URL in Properties > Information tab #132
Comments
What would be the immediate consequences of doing this? |
As an experiment, I tried doing this in SmartGit with two different repos to see what would happen if the user put in the URL of a completely different repo by mistake. I ended up with a combination of the two repos. So, not sure how this could be done safely. |
Maybe editing the |
FWIW, I had to do it twice with my team because we had to change our git server twice. I also have some colleague who has to work both from the LAN and a VPN, but depending on the network the port (thus URL) is not the same. |
Yes, an edit button with a "Are you sure you know what you are doing?" warning might do it. If it's effectively only changing the remote entry in the Have you tested what happens if one remote is ahead/behind the other, or has different branches? |
Yes, there's no real issue in these cases as this is anyway what happen if you did worked a lot locally while at the same time other people did create new branches. Git does its job ;-) |
In some occasion it might be needed to change the URL of the underlying git repository's origin. For the moment this has to be done by manually editing the git
config
file.Would it be possible to make the
URL
field of the Property > Information tab editable ?The text was updated successfully, but these errors were encountered: