Git-cofanie git rm [duplikat]
to pytanie ma już odpowiedzi tutaj :
Zamknięte 8 lat temu .
Tu Git SOS. Pracowałem 10 godzin nad projektem bez zaangażowania (wiem, I wiem) i potem git dodał zbyt wiele plików, więc próbowałem użyć git rm i przypadkowo usunięte wszystko. Czy jest dla mnie nadzieja? :(((Możliwy duplikat:
Jak przywrócić " git rm-r ."?
89
1 answers
Jeśli już wprowadziłeś zmiany, to:
git reset (--hard) HEAD~1
If not then:
git reset
git ls-files -d -z | xargs -0 git checkout --
165
Author: Hauleth,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2019-10-15 09:00:16
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2019-10-15 09:00:16