Hard code a password in a git remote

Tired of typing in your password every time you push an update to your Windows Azure Website (or github for that matter)?

You can include the password in the remote url:

http://USERNAME:PASSWORD@WEBSITE.scm.azurewebsites.net/WEBSITE.git

To update your remote, you can use:

> git remote set-url azure [url]

To list your remotes, complete the URLs, use:

> git remote -v
Advertisements