日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

linux upgrade tool使用_p4merge的使用

發布時間:2025/3/15 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux upgrade tool使用_p4merge的使用 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

P4merge是業界用于git merge和compare的圖形化工具,本文簡單介紹如何在windowns和linux下面配置和使用。1. P4merge的下載https://www.perforce.com/downloads/visual-merge-tool2. Linux下的安裝
參見下文https://www.cnblogs.com/memory4young/p/installing-and-configuring-p4merge-for-git-on-ubuntu.html

3. Windows下的安裝
參見下文https://blog.csdn.net/ikscher/article/details/44154013

4. .gitconfig的配置
windows的配置如下,linux的類似
[difftool "p4merge"]
cmd = p4merge.exe "$LOCAL" "$REMOTE"
[difftool]
prompt = false
[merge]
tool = p4merge
[mergetool "p4merge"]
cmd = p4merge.exe "$BASE" "$LOCAL" "$REMOTE" "$MERGED"
trustExitCode = false
keepTemporaries = false
keepBackup = false
[mergetool]
prompt = false
[gui]
[guitool "Pull with Rebase"]
cmd = git pull --rebase
[guitool "Rebase/Rebsae onto revision..."]
cmd = git rebase $REVISION
revprompt = yes
[guitool "Rebase/Continue"]
cmd = git rebase --continue
[guitool "Rebase/Skip"]
cmd = git rebase --skip
[guitool "Rebase/Abort"]
cmd = git rebase --abort
[guitool "Stash/Save"]
cmd = git stash save
[guitool "Stash/Show"]
cmd = git stash show -p
[guitool "Stash/List"]
cmd = git stash list
[guitool "Stash/Pop"]
cmd = git stash pop
[guitool "Stash/Drop"]
cmd = git stash drop
confirm = yes
[guitool "Visual Diff/All"]
cmd = git difftool
[guitool "Visual Diff/Current File"]
cmd = git difftool $FILENAME
noconsole = yes
[guitool "Visual Merge"]
cmd = git mergetool 5. 使用git gui進行GUI的diff和merge

總結

以上是生活随笔為你收集整理的linux upgrade tool使用_p4merge的使用的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。