Repair broken git history -
my git history broken, in sense current branch appears 501 commits before master, not case.
in intellij idea can see @ point there jump in stream, did nothing different branching usual:
i had branch historical_dev , created new branch historical_dev_new. branch surprisingly created right files (i.e. last commits on historical_dev) wrong history. didn't realize , kept committing on historical_dev_new, , need rebuild history. rebasing mean rebasing on project source code
what can have occurred? how can solve it?
if haven't pushed these changes remote repository, use interactive rebase clean history. more information here: https://help.github.com/articles/interactive-rebase
Comments
Post a Comment