Git undo local commit
2019-06-10
·
1 min read
久唔久就會大意地 Commit 錯野
發現以下這個 git command
Git undo pushed commit and keep changes unstage
解決方法
git reset HEAD^
久唔久就會大意地 Commit 錯野
發現以下這個 git command
Git undo pushed commit and keep changes unstage
解決方法
git reset HEAD^