“git reverse the Last 2 Commits” Ответ

git возвращает все коммиты на проницательный коммит

git revert --no-commit <commithash>..HEAD #revert changes in range of commits from head to back to that commit hash
Kirk-Patrick Brown

git reverse the Last 2 Commits

$ git revert --no-commit D
$ git revert --no-commit C
$ git revert --no-commit B
$ git commit -m "the commit message"
Aggressive Anteater

Ответы похожие на “git reverse the Last 2 Commits”

Вопросы похожие на “git reverse the Last 2 Commits”

Больше похожих ответов на “git reverse the Last 2 Commits” по Shell/Bash

Смотреть популярные ответы по языку

Смотреть другие языки программирования