-
-
Save cinlloc/6cd3bcb6d04153b7979d7e9eac275be7 to your computer and use it in GitHub Desktop.
Installing and configuring P4Merge for Git on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install p4merge 20.1 on Ubuntu as Git merge tool | |
cd ~/Downloads | |
wget https://cdist2.perforce.com/perforce/r20.1/bin.linux26x86_64/p4v.tgz | |
tar zxvf p4v.tgz | |
sudo mkdir /opt/p4v | |
cd p4v-2020.1.1966006 | |
sudo mv * /opt/p4v | |
sudo ln -s /opt/p4v/bin/p4merge /usr/local/bin/p4merge | |
cd .. | |
rm -rf p4v-2020.1.1966006 | |
git config --global merge.tool p4merge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment