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

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -