Set your username to the git remote


Some time we d't want to add SSH to github for particular app(when working with multiple github users), We can add
github user name to specific app.

git remote set-url origin https://yourusername@github.com/user/repo.git

This will ask your password when tries to git push.

Advertisements