Steps to add an existing Repository to Github
1 min readAug 22, 2019
Via Command Line
A. Create a local Repository
- git init
- git add .
- git commit -am “Commit Message”
B. Create a Github Repository
C. Push local changes to GitHub Repository
- git remote add origin <New Repo URL>
- git remote -v
- git pull origin master — allow-unrelated-histories
- git push origin master