Forum   Search   Register   Log in SUPERJER FORUM
 

Let Git help you merge images

Pages: [1]
Programming Help
superjer
superjer

2005 Mar 20 • 3762
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!
    (Edited 2011 Dec 19 at 00:13)     2011 Dec 19 at 00:11
Down Rodeo
Cap'n Moth of the Firehouse

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

Comrade General 5-Star
2005 Mar 21 • 3812
1,227 ₧
Especially to me!
    2011 Dec 19 at 13:34

Pages: [1]
Forum and design copyright © 2008-2010 SuperJer.com