歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux基礎 >> 關於Linux

linux git設置命令簡寫


linux git設置命令簡寫   打開.git/config文件,編輯如下: Conf代碼  www.2cto.com   [merge]       summary = true       tool = vimdiff   [diff]       renames = copy   [color]       diff = auto       status = true       branch = auto       interactive = auto       ui = auto       log = true   [status]       submodulesummary = -1   [mergetool "vimdiff"]       cmd = "vim --noplugin \"$PWD/$MERGED\" \             +\":split $PWD/$REMOTE\" +\":set buftype=nowrite\" \             +\":vertical diffsplit $PWD/$LOCAL\" +\":set buftype=nowrite\" \             +\":vertical diffsplit $PWD/$BASE\" +\":set buftype=nowrite\" \             +\":wincmd l\""   [format]       numbered = auto   [alias]       co = checkout       ci = commit       st = status       pl = pull       ps = push       dt = difftool       l = log --stat       cp = cherry-pick       ca = commit -a       b = branch    
Copyright © Linux教程網 All Rights Reserved