How to only push to one branch in Hg?

后端 未结 3 1443
梦谈多话
梦谈多话 2021-01-30 05:21

I have a Hg repo with 3 branches in it, but two of them are inactive (since I have already merged them into my default branch). hg heads shows 3 heads, one for each bra

3条回答
  •  猫巷女王i
    2021-01-30 05:30

    To push a single branch you just use -b

    hg push -b myBranch
    

    as for the specific issue, you may want to look into closing branches. I know SourceTree offers it, but I'm not sure on the specifics

提交回复
热议问题