教學1 使用分支
1. 建立分支
建立名為issue1的分支。
您可以通過branch命令來建立分支。
$ git branch <branchname>
建立 issue1 分支。
$ git branch issue1
不給任何參數直接執行 branch 命令的話,可以顯示分支列表。前面有 * 的就是現在的分支。
$ git branch issue1 * master
目前的歷史記錄看起來是這樣的:
教學1 使用分支
建立名為issue1的分支。
您可以通過branch命令來建立分支。
$ git branch <branchname>
建立 issue1 分支。
$ git branch issue1
不給任何參數直接執行 branch 命令的話,可以顯示分支列表。前面有 * 的就是現在的分支。
$ git branch issue1 * master
目前的歷史記錄看起來是這樣的: