0

I ended up having a repository like this after reseting some branches. Now I am not sure how to clean up the repository. Can anyone explain how the hanging blue and brown line can be removed?

enter image description here

Hound
  • 837
  • 17
  • 31
  • why would you want them removed? They are indicating that you have merged a branch into the current branch, and the commits are down below – Oxymoron Nov 08 '16 at 16:30
  • We don't want anything above current head. we reset all branches to oct2016. – Hound Nov 08 '16 at 17:31

1 Answers1

0

For whoever comes here - the commits won't go because they are referenced by the tags - you must issue

git push --delete origin R1.10.0xxx # delete the tag on remote repo
git tag --delete R1.10.0xxx # delete the tag on local repo

for all the tags (yellow labels in gitk) above the Oct2016 tag

Mr_and_Mrs_D
  • 32,208
  • 39
  • 178
  • 361