Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howto:git [2022/10/19 20:41] – [Updating an Install from CVS] missing word digital man | howto:git [2024/03/22 22:02] (current) – [Reset] fix typo and such digital man | ||
---|---|---|---|
Line 113: | Line 113: | ||
- Run '' | - Run '' | ||
+ | ===== Reset ===== | ||
+ | |||
+ | If you're getting Git errors about local changes to files that you didn't make and you just want to reset every file in the repository to its latest upstream contents, run these commands: | ||
+ | |||
+ | $ cd / | ||
+ | $ git fetch --all | ||
+ | $ git reset --hard origin/ | ||
+ | $ git checkout master | ||
+ | | ||
+ | After the successful execution of these commands, your '' | ||
+ | | ||
===== Delete the Repo ===== | ===== Delete the Repo ===== | ||