Git: Selectively merge changes from a different branch
git checkout -p branch_to_merge_from
use y
to accept a hunk
e
opens default editor if more control is required
Written by Vimalkumar Velayudhan
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vkvn
Authors

vimalkumarvelay
11.14K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#