搜尋此網誌

網頁

2013年10月19日 星期六

git commit 常用指令

修正 commit 過的版本歷史紀錄 : http://ithelp.ithome.com.tw/question/10138791

* git reset --hard "HEAD^"
* git reset --soft "HEAD^"
* git reset --hard ORIG_HEAD
* git commit --amend

設定 .gitignore 忽略清單: http://ithelp.ithome.com.tw/question/10138831

沒有留言:

張貼留言