I opened the CMD and go to my user folder. Inside is the .gitconfig file.
When I do
git config --global http.proxy http://127.0.0.1:3128
it says that the file/folder .gitconfig is not found!
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
If your configuration file really doesn't exist, then executing
git config --global --list should give you the location is it expected to be.
You should check if permissions to that directory are sufficient for git to write to that file...
You can also execute
git config --global --edit to edit the file directly.
If you want to change your config file path, you can do so by creating an environment variable called
home, and pointing it to your desired location.
See Git Config Documentation for additional information