Ela Ela - 1 year ago 92
Git Question

Azure site deployment with Git without credentials

I have a windows Azure site. Currently I deploy the code to Azure using GIT source control tool. It asks me the credentials every time. Is there anyway to push the code without entering the password? We can add the SSH key in Github, Git Stash and access the Git repo directly. I need something like that. Can we do it on Azure site? Can anyone please tell me?

git push azure-site master

Password for 'https://admindev@azure-site.scm.azurewebsites.net:443':

Ela Ela
Answer Source

The answer is .gitcredentials or netrc file. this file can be created in user home path. It stores the https credentials. from the next time it won't prompt for password. Is there a way to skip password typing when using https:// on GitHub?

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download