日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

linux upgrade tool使用_p4merge的使用

發布時間:2025/3/15 linux 20 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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的使用的全部內容,希望文章能夠幫你解決所遇到的問題。

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