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
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'