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:

enter image description here

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

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -