Git undo local commit

久唔久就會大意地 Commit 錯野
發現以下這個 git command

Git undo pushed commit and keep changes unstage
解決方法

 git reset HEAD^
Chi Yau
Chi Yau
Software Developer

Intererest to share knowledge / experience

comments powered by Disqus