Git - Getting and changing remote url



I happened to have updated my username and password for a git repo that i worked with. The thing is, info is persisted in the git repository and giving exceptions whenever i tried to push stuff across.


To view config url 

git config --get remote.origin.url


To Update config url for your repo

git remote set-url origin https://username:password@dev.azure.com/someorg/repository_url

Comments

Popular posts from this blog

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