What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-09-27 16:51:02
git get latest
Case 1: Don’t care about local changes Solution 1: Get the latest code and reset the code git fetch origin git reset --hard origin/[tag/branch/commit-id usually: master] Solution 2: Delete the folder and clone again :D rm -rf [project_folder] git... Add solution