moxdev
11/29/2016 - 6:10 PM

How to easily switch from http to ssh remote origin (if you have 2-form Auth active)

How to easily switch from http to ssh remote origin (if you have 2-form Auth active)

git remote -v git remote remove origin git remote add origin git@github.com:user/repo.git