Having to spend the week back in windows, it has forced me to verify that all of my configuration is actually able to be shared between the different environments.
When working with source code on windows I much prefer to use beyond compare to work with diffs and merges.
Here is a look at my .gitconfig (after transformation to appropriate target environment[windows]; more on that later):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
Notice the difftool section of “bc3”. It is told to trigger an external script named beyondcompare-diff.sh. This is a much better version of a simpler script that I had to written accomplish the same thing (I can’t even remember where I was pointed to these scripts, but I thank the author for sharing them):
In my unix environments I have a folder called devtools that lives at the following location:
Automation is a folder where I keep all of my scripts and files that are shared between the different unix envionments that I run:
To ensure that all of my automation scripts are accessible I have the following line in my .bash_env file:
Notice the one section in path:
This ensures that any existing or new scripts that I drop under the automation folder, are picked up right away. Following this simple convention, I have a folder under the automation folder named git, that contains all of the scripts that are meant to be leveraged in the context of git.
Hopefully this will help you out if you need to configure bc3 on windows under cygwin!!