User:John Erling Blad (WMDE)/git

If  gives the help page, then at some point you often has lost the branch and have a single unrelated commit. To get back on track you either has to make a new branch or get back on your correct one. Often you will stash your changes, check out the correct branch, pop your changes, and then make a new rebase.

Or something like that&hellip;

Important thing is to check <git status if you get the help screen indicating there something wrong with your arguments to git, as the real error message is lost in the verbose output.