Git - Access denied fatal: Authentication failed for ..

If you receive this error message when tryinf to push / pull / clone, chances are the remote repository is private.In order to overcome this, use the following command;​$ git clone -b dev https://gitUsername@gitlab.com/remoteGitAddress/project.git .​In the code above:-b means clone from the branch named 'dev'. at the end means extract the folder co...
Rate this blog entry:
Continue reading
1809 Hits
0 Comments

Git Push Error - 401 Unauthorized While Accessing...

If you have an existing folder that you want to push, the instructions on GitLab are as followscd existing_folder git init git remote add origin https://gitlab.com/username/MyProject.git git add . git commit -m "Initial commit" git push -u origin masterHowever I was receiving the following error;error: The requested URL returned...
Rate this blog entry:
Continue reading
3650 Hits
0 Comments