1. 以某個tag為基礎建立新branch
$ git branch [branch_name] [tag]
2. 切換到新branch
$ git checkout [branch_name]
3. 建立檔案並打commit
$ git add
$ git commit
4. push到server (也順便在server建立此branch)
$ git push origin [local_branch_name]:[server_branch_name]
ex: git push origin v1:v1
沒有留言:
張貼留言