How do you rename a branch in CVS?

前端 未结 3 1743
执笔经年
执笔经年 2021-02-14 10:52

If you\'ve named a branch in CVS incorrectly, or the name originally chosen becomes inappropriate, how do you change it to something else?

A related question is How do y

3条回答
  •  南笙
    南笙 (楼主)
    2021-02-14 11:13

    As I cannot add comments to given answers yet (reputation to low), I want to remark that the given command in previous answer is missing double-quotes!

    Correction:

    grep "old-branch-name" * -rl | xargs sed -i 's/old-branch-name/new-branch-name/g'
    

提交回复
热议问题