Reputation: 95
I have to perform migration on server which is located on Client location.
So I used to connect it using putty and run git pull
command to specific path location in order to migrate my code.
But from today while doing same thing I am getting error as:
fatal: unable to access 'https://github.com/"my repo and project name"': Received HTTP code 403 from proxy after CONNECT
Attaching screenshot as well.
Upvotes: 0
Views: 584
Reputation: 762
Make sure that you have access of that repository . Error is self explanatory. I am afraid , you dont have the access.
To see your current git email and user name :
git config user.email
git config user.name
You can change your email and user like :
git config --global user.name "a"
git config --global user.email "[email protected]"
Upvotes: 1
Reputation: 1323095
If sound like your GitHub username/password provided by Git (after going through the proxy) are not correct.
Check how your GitHub credentials are provided (git config credential.helper
), and double-check you don't have 2FA activated (because if you do, you would need a Personal Access Token or PAT)
Upvotes: 1