有時候 commit 了一堆不要的東西, push 以前可以用這兩個方式修改. 1. git reset --soft HEAD^ 功用: uncommit the last commit 2. git reset [filename] 功用: unstage [filename]