Modifying network settings for Git - where are they stored?

This forum is for all Flare issues related to using Source Control.
Post Reply
iand
Sr. Propeller Head
Posts: 131
Joined: Thu Dec 18, 2008 5:46 am
Location: London, England

Modifying network settings for Git - where are they stored?

Post by iand »

My project is currently bound to GIT. I have been able to successfully push and pull changes to the remote Github repository.
Unfortunately, my colleague who works in another office with stringent firewall settings has not been able to push changes. In order to resolve this problem we tried to set a proxy server and port in the Source Control > Network settings. Unfortunately, this didn't work and has stopped Git working on my machine for both push and pull . Even worse this setting cannot now be deleted. Madcap support have so far been unable to help.

Does anyone know where these settings are stored (in a file, the registry, etc.) so I can go and change them manually?

[img]NetworkSettings.png[/img]

Thanks for your help
Ian
You do not have the required permissions to view the files attached to this post.
morganhancock
Propeller Head
Posts: 13
Joined: Wed Feb 10, 2016 8:35 am

Re: Modifying network settings for Git - where are they stor

Post by morganhancock »

I'm not sure how to help with the firewall issue and I don't know where the network settings are stored for a Flare project bound to Git, but...

Have you resetting to the last commit before you set up the proxy server? That should undo the setting you cannot delete, unless this setting isn't being tracked with Git. You could try forking the repository to see if that setting is in fact tracked in Git. (I've had an issue where my local copy of a Flare project was corrupted but my teammate didn't have the issue and the issue wasn't present in the forked repository, so whatever caused that issue was not tracked in Git.)

If resetting doesn't work, you might try deleting your Flare project on your local machine, deleting the local repository, and re-clone the remote repository.

You may also be able to find or modify the setting using git config, if that's where Flare stored that setting... https://git-scm.com/docs/git-config
iand
Sr. Propeller Head
Posts: 131
Joined: Thu Dec 18, 2008 5:46 am
Location: London, England

Re: Modifying network settings for Git - where are they stor

Post by iand »

Got the following from Flare support which solved the problem

Please navigate to the following file, as the Network Settings of a HTTP Proxy are stored in a localized ".GIT" file that is written to the machine when bound.
C:\Users\[username]
On this directory locate a ".gitconfig" file and right-click it to select Edit with Notepad. Once this file opens, remove the entire string as labeled below:

[http]
proxy = xxx.x.x.x:xxx

Save the file and once going back into the Network settings, this portion will be cleared out.
Post Reply