This post will help to overcome Github username password request during every git push. Instead of using SSH we use HTTPS to clone the repo and then every time you try to push to Github it will ask for your username and password for https://github.com.
To overcome this situation you can change the URL of your origin remote by using,
git remote set-url origin git@github.com:username/repo.gitIn my scenario its,
git remote set-url origin git@github.com:wso2/enterprise-store.gitYou can find the "git@github.com:username/repo.git" by browsing the Github repository and copying the SSH clone URL.
No comments:
Post a Comment