-
Create local changes and commit them
-
Create a remote repository on Github and add it to the local repo
git remote add origin <remote_origin_url>
-
Move the main branch to main if it is not already main.
git branch -M main
-
Push the branch to remote and set it to track the remote branch
git push -u origin main | git push --set-upstream origin main
vipermessy / local-repo Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ndejoma/local-repo