Sono passato al master dopo aver sviluppato un ramo per molto tempo. Il registro mostra:
Il tuo ramo è dietro 'origine / master' di 167 commit e può essere fatto avanzare rapidamente.
Provai:
git checkout HEAD
Non ha alcun effetto. Questo perché ho verificato un commit intermedio sul master.
Come far rimanere in testa il maestro?
git checkout HEAD
non fa mai niente.HEAD
indica già il commit del check-out.