First of all, I am new to using ‘git’. And I am using SourceTree client.
I have the following scenario. I have checked out the code from git repository. I have made few changes to the code. In the mean time, a new branch (say “vv1”) was created in the repository. Now I wanted to commit my changes to both master and vv1. Can anybody guide me regarding this, with the help of SourceTree?
Commit to one of the branches, then you’ve got a choice:
A larger question is why are you trying to commit to two seperate branches rather than letting the author of vv1 finish the feature and when merging back in, resolve the concern?