Hi, I'm using gitflow and Source Tree.
If I update my development branch from upstream, it is possible to pull from the local develop into a feature branch thus bringing that branch up to speed.
However if I have a feature branch A and I want to go off and do a big refactor to try something I'm not sure I will keep. But I do not want to finish feature branch A, I want to create a feature branch B (based on develop) and then pull from feature branch A to experiment in feature branch B.
I am not able to do this from the pull menu when choosing 'Custom' to pull from local branches don't see anything under feature only master and develop. Is this by design or is it just a missing feature in the GUI?
'Pull' actually just means 'Fetch and Merge' and is only really applicable to remote branches.
To bring your feature branch up to date with the develop branch, just merge the develop branch into your feature branch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To do that, you just create feature branch B from the last commit of feature branch A. You can do this by right-clicking that commit and selecting 'Branch', or by using the toolbar's Branch button and selecting 'Specific Commit' for the point at which you want the branch to start, and browsing to it from there. (If you're using git-flow, it has a similar way to specify where your feature branch will start from).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.