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:

enter image description here

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

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -