github - Git merge during checkout with GUI tool -
i trying merge 1 file repo , found slides working want git merge single file repository own
and command using is:
git checkout -p other/target-branch target-file.ext
but issue met asked below (probably due conflict merge?)
--- b/xxxx/test.pl +++ a/xxxx/test.pl @@ -46,9 +46,6 @@ push( @inc, $1 ); -$xxxxxxxxxxxxxxxxxxxx; - &main; apply hunk index , worktree [y,n,q,a,d,/,j,j,g,e,?]?
those 2 test.pl 99% same before , a/xxxx/test.pl has been updated, thought shall merge own test.pl keeps history of a/xxxx/test.pl.
problem don't know how use [y,n,q,a,d..] handle conflicted merge, , know there gui tool "git mergetool" trigger kdiff3 make easier, how may use merge gui checkout command?
i quite new git. doing in correct way?(using checkout merge, olnly find checkout way works me proberbly. or shall use git merge command)?
Comments
Post a Comment