tags:

views:

24

answers:

1

I read this about git branch: http://book.git-scm.com/3_basic_branching_and_merging.html

I have create a branch called 'experimental'. I switch to that branch and make 2 commits there. So if it possible for me to merge the later commit (the 2nd of the 2 commits) of the experiment to the master branch?

Thank you.

+3  A: 

What you are looking for is the cherry-pick command. There are a few other alternative methods that you might consider as well. Check out the article Pick Out Individual Commits on Git Ready.

Jimmy Cuadra