Collaborating with a dev, i want to merge a selected commit from his branch into mine and push it to production.
            Asked
            
        
        
            Active
            
        
            Viewed 69 times
        
    1
            
            
        - 
                    1possible duplicate of http://stackoverflow.com/q/6372044/6754053 – Jan 20 '17 at 10:34
- 
                    1Possible duplicate of [How do I merge a specific commit from one branch into another in Git?](http://stackoverflow.com/questions/6372044/how-do-i-merge-a-specific-commit-from-one-branch-into-another-in-git) – Jan 20 '17 at 10:34
- 
                    Possible duplicate of http://stackoverflow.com/questions/881092/how-to-merge-a-specific-commit-in-git – Jake Graham Arnold Jan 20 '17 at 13:56
1 Answers
1
            You can use git cherry pick
- First go the the branch where you can to merge the commit (here your own branch)
- Now copy the SHA id of the dev's commit
- git cherry-pick sha-id
 
    
    
        Vatsal Parekh
        
- 248
- 4
- 12
 
    