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
1307 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
2156 Hits
0 Comments

Git Rename Branch Local and Remote Securely

​1. Rename your local branch. If you are on the branch you want to rename: git branch -m new-name 2. Delete the old-name remote branch and push the new-name local branch. git push origin :old-name new-name 3. Reset the upstream branch for the new-name local branch. git push origin -u new-nameThanks to https:/...
Rate this blog entry:
Continue reading
498 Hits
0 Comments

JQuery Validate Single Input on Toggle

In order to validate a single input, use the following function;Be sure to add this inside your change.() event, otherwise it won't work.
Rate this blog entry:
Continue reading
240 Hits
0 Comments

Bootstrap Toggle Adding Dynamic Elements

If you are adding elements to your page dynamically you will may run into issues with Bootstrap Toggle.I was adding toggles, each with uniquie ids.Hopefully this will help;
Rate this blog entry:
Continue reading
295 Hits
0 Comments