git pull and push with username password


Just use the command below and provide your username and password :-

git pull https://yourUsername:yourPassword@githubcom/repoInfo 

When you trying to push upstream and getting some errors :

git push --set-upstream origin feature/stored-proc-refactor

An then it prompts your for password for an invalid username, you can do something like this

git remote set-url origin https://dev.azure.com:jeremy/some_distant_repo/_git/super_awesome_project_name 


Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm