Last active
April 2, 2025 11:12
-
Star
(237)
You must be signed in to star a gist -
Fork
(55)
You must be signed in to fork a gist
-
-
Save vorozhba/b458077f396191a6105cf91e1739a313 to your computer and use it in GitHub Desktop.
Как удалить commit в Github
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Получаем хэш-код коммита, к которому хотим вернуться. | |
2. Заходим в папку репозитория и пишем в консоль: | |
$ git reset --hard a3775a5485af0af20375cedf46112db5f813322a | |
$ git push --force |
Спасибо :)
Спасибо!
Спасибо! Ты лучший!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Спасибо)