长风在西瓜糖里
Blog
Books
Garden
reset
2024-09-22
在
Git
中撤销提交,会覆盖当前版本到要回退之间的版本,如果不希望影响已提交的历史,可以使用
reset
。
Terminal window
1
git
reset
--hard
{版本号}
#
Git