Using GitHub from SSH login - MaterSim/CMS GitHub Wiki

When you attempt to push/pull your repo through ssh connection, you need to manually type the user account/password. This can be avoided by setting ssh connection as follows

  • generate the ssh keys by following this link in your local directory,

  • type git remote -v, you will see the following,

origin  https://github.com/qzhu2017/FF-project.git (fetch)
origin  https://github.com/qzhu2017/FF-project.git (push)
  • reset your repo to the following
git remote set-url origin [email protected]:qzhu2017/Topo_phonon.git