Created
June 13, 2018 12:33
-
-
Save smartdeal/8c127a47a2d89efafefac7d502174df6 to your computer and use it in GitHub Desktop.
[Исправить последний коммит] #GIT
This file contains hidden or 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
# Вот дерьмо, git, я закоммитил последние правки, но мне нужно там кое-что поменять! | |
# Вносим правку | |
git add . # или отдельный файл | |
git commit --amend | |
# Следуем подсказкам для изменения или сохранения последнего коммита | |
# Теперь ваш последний коммит содержит нужные вам правки |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment