Unable to pull from git on a Ubuntu Server inside of Virtualbox

I've found a workaround 'fix':

The problem seems to be trying to pull in 'Bridged' mode in Virtualbox. If I switch networking to NAT I can successfully pull, then I switch back to Bridged to work locally, then back to NAT when it's time to push.

It's not the most convenient fix, but it works for now. If anyone has a suggestion to make this better, I'm all ears.


What worked for me was to set my github user and password to the command line that asks to clone the repository. Since in your vm you are not logged in github..

What I did was: git clone https://username:[email protected]/repositoriUrl.git

(Being username your github user account name, password your github pass and repositoryUrl.git the url for your repository).

I hope this helps!

Tags:

Git

Ubuntu