Si può eseguire questo comando
1 | git reset --merge ORIG_HEAD |
Dove ORIG_HEAD punterà all’ultimo commit prima del merge.
— merge non ha niente a che fare con il classico merge, è come eseguire git reset --hard ORIG_HEAD
, ma più sicuro visto che non tocca i file non ancora committati.
Scrivi un commento