revisr icon indicating copy to clipboard operation
revisr copied to clipboard

Updating remote config clears the remote URL

Open jekuno opened this issue 10 years ago • 6 comments

When opening the page "Revisr - Settings - Remote" the Remote URL form field always is empty. Updating the remote settings using this form therefore always clears the remote url from .git/config (even if it was set before) which breaks the configuration.

Info: My remote is called staging (not origin). I use Revisr v2.0.1.

jekuno avatar Nov 25 '15 14:11 jekuno

Thanks for the info- I was able to replicate this with a different remote name. Checking into this further.

mattgrshaw avatar Nov 25 '15 17:11 mattgrshaw

Having the same issue. Any updates on this?

ghost avatar Feb 11 '16 21:02 ghost

Same issue, can anyone help?

martingebhardt avatar Jan 31 '17 08:01 martingebhardt

It still seems to be unfixed. So as a workaround for now you have to

  • either paste the URL manually into the form field every time you edit the remote settings or
  • readd the URL to the file .git/config manually after updating the remote settings using the form

jekuno avatar Jan 31 '17 08:01 jekuno

@jekuno Thank you for your help. I add the URL to the config file and it works

martingebhardt avatar Jan 31 '17 10:01 martingebhardt

👍

jekuno avatar Jan 31 '17 10:01 jekuno