![Forrest logo](/images/logo.png)
git-revert:tldr:11f47
The git revert -n command is used to undo a previous commit in a Git repository. In this case, the commit being reverted is identified by the range of commit hashes specified, which is ${0c01a9--9a1743}.
The commit range ${0c01a9--9a1743} means that all commits between the commit hash 0c01a9 (exclusive) and the commit hash 9a1743 (inclusive) will be reverted.
The -n option stands for --no-commit and it prevents Git from automatically creating a new commit. This means that the changes will be applied to the working directory and staging area but won't result in a new commit.
It's worth noting that the commit hashes mentioned here are placeholders and should be replaced with actual commit hashes in your repository. Additionally, the command should be executed in the Git repository's root directory or the desired submodule.