3 ms·
`git reset` doesn't simply remove commits. Depending upon what you reset to it could result in `git log` showing additional commits, or an entirely different se
by parenthephobia 10y ago
`git reset` doesn't simply remove commits. Depending upon what you reset to it could result in `git log` showing additional commits, or an entirely different set of commits. Conversely, there's no invocation of `git rm` which creates files. In this case, the commands look different because they do totally different things.
You'd have a better argument with `git rm`, `git branch -D` and `git remote remove`. :)
- StavrosK 10y agoYeah, that was the first thing that popped into my head, but examples certainly abound.