This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Reverting a range of commits | |
# | |
# git --pretty=oneline --abbrev-commit older_commit..newer_commit # not includes the oldest commit | |
# git --pretty=oneline --abbrev-commit older_commit^..newer_commit # includes the oldest commit | |
## | |
# just to be sure about the commits, list them | |
git log --pretty=oneline --abbrev-commit 1f80548^..4b293d5 |