Contents
git reset
git reset --hard <remote>/<branch>
Resets the working copy to the HEAD of the specified branch. Discards all local changes. Without the --hard, the local changes will be kept (TODO: explain better what this means).
Contents
git reset --hard <remote>/<branch>
Resets the working copy to the HEAD of the specified branch. Discards all local changes. Without the --hard, the local changes will be kept (TODO: explain better what this means).