Git revert to point to specific commit/revision history with Git bash console -
i trying go commit point history via git log
, push point repo new head pointed reverted commit without removing commits prior.
what did git log
retrieve commit history. did git revert (log version)
instead of git reset (log version)
since safer 'git revert`.
but when git revert
, weird screen in git bash console unable it:
this weird screen text editor called vim
. need edit commit message, save , exit:
https://stackoverflow.com/a/11828573/7976758
edit text, press esc exit edit mode, press : enter command line mode, press x , enter save , exit.
Comments
Post a Comment