These are chat archives for MontCode/GeneralChat
Here is the details.
origin is the name git uses to remember where your GitHub is (when you type
git remote -v you’ll see the origin name there.
The command you are using broken down (the comments form a sentence:
git // using the git application… push // push the code online… origin // and force the push to go to the remote labeled origin… gh-pages // to the gh-pages branch
If you replace gh-pages with master like you did earlier, you’ll see why your code didn’t appear like you thought. You should just be able to do a
git push and be fine. If you go back, you’ll see that you forced the —set-upstream which makes the default last two arguements
git push --set-upstream origin gh-pagesso you “set” the push to go up stream to the webaddress origin AND to the branch gh-pages.