2.7. Git Asking Username And Password - shinokada/gitnotes GitHub Wiki

When you git push or ggp, if git asks your usename and password, you need to change your remote url.

Use [email protected] rather than https.

git config --list
remote.origin.url=https://github.com/shinokada/vimnotes.wiki.git

git remote set-url origin [email protected]:shinokada/vimnotes.wiki.git

// for bitbucket
git remote set-url origin [email protected]:sokada/repo-name.git
⚠️ **GitHub.com Fallback** ⚠️