Reputation: 3920
I am able to clone a specific git repository fine, but when I try to push to the repository I get an error
'Received HTTP code 407 from proxy after CONNECT'
I have tried configuring the proxy by doing:
git config --global http.proxy {username@proxy}
git config --global https.proxy {username@proxy}
I am able to do everything else on the repo , like check status, add files to staging area, or view available branches.
What do I need to configure to be able to push to the remote master?
Upvotes: 0
Views: 8296
Reputation: 6033
it could have been because it was a shallow clone. did you use git clone --depth
? if it is a shallow clone try git fetch --depth=a_large_number
then git push
should work.
Upvotes: 1