//---------------------------git stash----------------------------
git stash # 把目前的資料丟進暫存區
git stash list # 列出所有暫存區的資料
git stash pop # 取出最新的一筆, 並移除.
git stash apply # 取出最新的一筆 stash 暫存資料. 但是 stash 資料不移除
git stash clear # 把 stash 都清掉
//-----------------------------git stash----------------------------
目前使用流程
1.git clone
2.hooks.git
3.coding
4.git branch XXX ( 開分支 )
(在coding 時,可能已經有人submit )
5. git reset --hard origin ( 回到最原始的commit , 在master下使用)
6. git pull origin master (再pull最新的commit)
6.git cherry-pick XXX的commit ID
目前使用流程
1.git clone
2.hooks.git
3.coding
4.git branch XXX ( 開分支 )
(在coding 時,可能已經有人submit )
5. git reset --hard origin ( 回到最原始的commit , 在master下使用)
6. git pull origin master (再pull最新的commit)
6.git cherry-pick XXX的commit ID