I have started learning git and github on my own. I am not at the Git stage at FCC but decided to go ahead anyway with online tutorials elsewhere. I find the basic idea of git quite straightforward. Once I am “fluent” I expect git will be second nature. Saving endless copies of a project with a homemade naming convention is a thing of the past I hope.
I am learning git as I move my copepen projects to github pages. I exported the codepens to my own machine, made some changes, initialised git and pushed to github. If you look at my pizza_site repo you’ll see two branches. master and gh-pages. The latest commit was on the gh-pages branch. Now I would like to sync that change to gh-pages change back to master. But I also want to keep the gh-pages branch.
When I look at command such as git find push or merge I always have the feeling that I could be making changes in the wrong direction.
I found this link where Mandi Wise is discussing a similar solution. But if I understand her correctly she uses use git-rebase to push changes from master to gh-pages. I want to do the opposite; from gh-pages to master.