RStudio revert button seems to act like Git reset
<p>I am quite new to RStudio and Git, so I would like to make sure that I understand correctly what I am doing.</p>

<p>The Git documentation says that <code>git revert</code> creates a new commit. When I press the RStudio revert button, no new commit is created, it just goes back to the last commit. To me this seems to be a <code>git reset --hard</code>. Did I get anything wrong?</p>