I have a feeling I am asking something that can't be done in git, but I might as well ask. Is there any way that I can make one change and commit it to all branches? For instance, suppose I want to make a change to my AUTHORS file or LICENSE file. I know I can commit the change to one branch and then cherry-pick it to each branch individually. But is there an easier way to do it?
+3
A:
If the branches are going to be merged back to the trunk, or rebased on top of the trunk, you won't have to worry about it. They'll pick it up when that happens.
If they're long-lived branches, you'll want to either merge the updated branch into them, or cherry-pick the commit.
John Stoneham
2010-01-30 05:14:02