Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
howto:git [2022/10/19 20:41] – [Updating an Install from CVS] missing word digital man | howto:git [2024/03/22 21:59] – Create [Reset] section using Deuce's steps digital man | ||
---|---|---|---|
Line 113: | Line 113: | ||
- Run '' | - Run '' | ||
+ | ===== Reset ===== | ||
+ | |||
+ | If you're getting errors about local changes to files that you didn't make and you just want to reset ever file in the repo 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 sbbs Git repo should be reset back to the current upstream contents. | ||
+ | | ||
===== Delete the Repo ===== | ===== Delete the Repo ===== | ||