git reset 重置
背景和价值
1 git reset --hard origin/feature_dev
says: throw away all my staged and unstaged changes, forget everything on my current local branch and make it exactly the same as origin/master.
2 You can undo this move by using git reset --hard HEAD@{1}. HEAD@{1} varies from situation to situation so you're advised to search for it in git reflog

浙公网安备 33010602011771号