git - Sourcetree detached head -
i searched on keyboard through latest commits in sourcetree , accidentally pressed something, window popped up, accidentally pressed enter, don't know said. result, ended detached head. after googling, found advice recommending use "reset current branch on commit" on latest commit fix. did that, head still detached , bunch of other peoples commits got cancelled , in uncommited changes :(.
found out detached head created checking out older commit.
1) can fix in sourcetree?
2) importantly. did break repository whole team or local copy affected?
all appreciated, thank you.
Comments
Post a Comment