Skip to content

Instantly share code, notes, and snippets.

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