How to Push Local Repo Code into Github Repo
This guide is intended to show how to push code from our local computer to a GitHub repository.
Step 1
Step 2
git init
Step 3
git add .
Step 4
git status
Step 5
git commit - "your message"
Step 6
git remote add origin 'git_url'
Step 7
git push -u origin master
In case of error…
git remote remove origin