Let Git help you merge images

Let Git help you merge images

SuperJer
Websiteman

2005 Mar 21 • 6666
code

git config --global mergetool.gimp.cmd 'gimp --new-instance "$MERGED" "$LOCAL" "$BASE" "$REMOTE"'
git config --global alias.gimp 'mergetool --tool=gimp'


Then you can
code
git gimp
if you have conflicts in image files. It will open four of your image in Gimp:

+ The actual file you should copy changes into.
+ The LOCAL branch's version of the file.
+ The BASE version... from before the branches diverged.
+ The REMOTE branch's version.

Save your merged changes to the actual file and close all 4 Gimp windows and tell Git that (y)es the merge went ok. Unless it didn't!
 
 
 
2011 Dec 19 at 08:11 UTC — Ed. 2011 Dec 19 at 08:13 UTC
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
 
 
 
2011 Dec 19 at 14:54 UTC
aaronjer
*****'n Admin

Comrade General 5-Star
2005 Mar 21 • 5046
1,227 ₧
Especially to me!
 
 
 
2011 Dec 19 at 21:34 UTC
Page [1]