#project一開始會有兩條branch, #master(主要開發用) & release(上版用) #開branch git branch release #push release這個分支 #ex:git push origin release #每次要上版 1.merge master to release git merge release maste 2.push to remote git push 3.(add tag 會add到當前你在的分支) git tag $release-versioNname #ex:git tag v1.1.1 git push $repository_name $release-versioNname #ex:git push origin v1.1.1
沒有留言:
張貼留言