Revert to a newer version with Git -
i using git (and versioning whole) weeks now, , if helped me increase performance, still didn't understand well.
so question : if revert commit tagged version 0.6.3 of project older commit (version 0.6.2, e.g.), possible 're-revert' newer commit of project (version 0.6.3 in example) ?
yes possible revert reverts.
depending on how revert performed on of following options apply:
using git revert <commit/tag>
:
revert resulting commit via git revert
again. reverts executed via git revert
normal commits “reverse” commit, , reversal of reversal original.
using git checkout <commit/tag> -- file
:
checkout commit. commits equal , git not differentiate between older , newer ones.
Comments
Post a Comment