回到上一筆commit, 要小心會清除掉當下的commit. $ git reset --hard HEAD^. 其中:. --hard 代表復原清除. HEAD 代表目前的commit. ^代表上一筆.
確定! 回上一頁