I keep forgetting how to push to github...
Here is a reminder:
git init git remote add origin git@github.com:***/***.git git add week8.R git commit -m "an old file" git push -u origin master
But when I changed a directory and performed the same directives as above, something is wrong:
I still don't understand what "master" is and how the branch works. So I searched for solutions and settled for this:
git config branch.master.remote origin
git config branch.master.merge refs/heads/master
I'll look into this after CPA, I promise. For now being able to push to github is pretty satisfying to me.