4 ms·
One example, when reverting file changes to previous file state from last commit, the following are equivalent: `git checkout — $FILE` and `git restore $FILE`.
by brianzelip 4y ago
One example, when reverting file changes to previous file state from last commit, the following are equivalent:
`git checkout — $FILE` and `git restore $FILE`.
- computerfriend 4y agoWow, time to get rid of my `git reset-file` alias.