branch - Git: Remove commit tree from history -
i have done rebases fix repo, didn't help.
so repo looks this:
c1 --- ... --- z1 (no-branch) / --- b --- c --- ... --- z master
i'm kinda lost now.
have commits need on master branch, want rid of c1 z1. not in branch, git branch --contains c1
displays nothing, although tools gitk , sourcetree theese commits exist.
how can fix repo?
thanks
solution
i had tags on commits in tree c1 z1, thy not removed git prune
example. looking @ git show-ref
found tags referencing shas did no exist in tree.
Comments
Post a Comment