Source Tree resolve conflicts with an external tool

2018-05-21 12_55_29-Sourcetree-blue - Internet Explorer

Source Tree supports multiple external tools to compare differences and resolve conflicts between files. By default you can choose any of this:

Source tree tools

But In this entry I’m going to show how to use it with Meld. 

Meld is a visual diff and merge tool targeted at developers. Meld helps you compare files, directories, and version controlled projects.

In linux systems it’s very useful and it’s my preffered tool (only when I can’t use diff and merge tools from my IDE).

How to configure

Got to main menú an select Tools > Options > Tab Diff  and into selection option External Diff  pick Custom and into field Difff Command set the path to your meld binary (I’m on windows and my case is Meld.exe), next into field Arguments set this:

\"$LOCAL\" \"$REMOTE\"

Now for Merge Tool, select the same binary (Meld.exe) and set this into filed Arguments:

 
--auto-merge \"$LOCAL\" \"$BASE\" \"$REMOTE\" --output=\"$MERGED\" 

Now if you choose anyfile in your project you can check the diff selecting External Diff or CTRL+D over your file, and meld it’s executed:

extdifmeld

And it’s the same for files in conflict, select your file with the context menu Resolve conflicts > Launch External Merge Tool, now you can view side to side the differences between versions.

extmergemeld

And thats all, cheers

 

Anuncios

Connect to SMB1 from Windows 10

I had tried to connect from my windows 10 to shared folder over old Windows Server, but I received this message:

2018-05-07 11_52_03-_msg_

This explains the connection is using a protocol SMB1, in Win 10 it’s disbaled because is very old and insecure, the easy way to resolve it is enable it on windows features (into Panel Control, you need to reboot your system).

But I don’t wanna do that, I want to protect my system as far as posible, then googling on internet I found muCommander.

This is a ligth file manager (developed in java) with good support to connect with protocols like FTP, HDFS, HTTP, NFS, S3, SFTP, SMB and VSPHERE.

And now I can connect to older servers without expoes my system to some vulnerabilities.

http://www.mucommander.com/

2018-05-07 11_44_01-Acerca de muCommander