close

1. 新增一個分支 Branch,使用指令如下:

git branch yiistrap

2. 將 HEAD 切換到新的 Branch yiistrap,使用指令如下:

git checkout yiistrap

3. 下面的指令可以一次完成新增 分支 Branch 和 切換 HEAD 到新的 Branch,使用指令如下:

git checkout -b yiistrap
arrow
arrow

    ChouAndy 發表在 痞客邦 留言(0) 人氣()