4 ms·
The man page for git reset states in its first paragraph: > In the first and second form, copy entries from <tree-ish> to the index. In the third form, set the
by jcranmer 8y ago
The man page for git reset states in its first paragraph:
> In the first and second form, copy entries from <tree-ish> to the index. In the third form, set the current branch head (HEAD) to <commit>, optionally modifying index and working tree to match.
When your documentation starts by saying (in effect) "this command does several different things", that should be a very strong sign that your command UX has some issues.