I have looked at numerous questions on this same topic and they all have different answers and it is confusing.
Some say commit your changes first but I don't want to do this.
I am using Git Hub too, and do not understand how this works with the website commands such as create pull request , compare across forks, try changing your base, etc...
I thought just dragging my current branch to the right square and dragging the repo master branch to the left square and then clicking the Merge Branches button would work but then there is a "sync" button on the upper right that needs to be clicked after that, I guess, and then you need to do a pull request on the website....etc...etc.
Sheesh, in CVS I just clicked update and it brought down all the changes in the Head to my current and that was that.
There are three options I guess. Using git hub, using the website, and/or using the command line. How can this be simplified?
rebase
takes your branch, chops it off at the bottom, then sticks it on the top of somewhere else. I.e, it re-writes history to pretend you actually branched off from some other point. Generally this is used to build your branch off the newest version of its parent branch.