gitConfig文件和别名配置

[core]

    quotepath = false

    editor = vim

    fileMode = false

    autocrlf = input

[color]

    ui = always

[user]

 

[alias]

    st = status

    ci = commit

    co = checkout

    br = branch

    lgg = log --color --date-order --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ci) %C(bold blue)<%an>%Creset' --abbrev-commit --

    lga = log --color --date-order --graph --all --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ci) %C(bold blue)<%an>%Creset' --abbrev-commit --

    lg = log --color --decorate --date-order --graph --date=iso

    lgf = log --color --decorate --date-order --graph --date=iso --stat

    lgp = log --color --decorate --date-order --graph --date=iso --pretty=raw

    lgpo = log --color --decorate --date-order --graph --date=iso --pretty=oneline

    lggo = log --graph --oneline

    lgpf = log --color --decorate --date-order --graph --date=iso --pretty=raw --stat

    lgfs = log --color --decorate --date-order --graph --date=iso --name-status

    unstage = "reset HEAD --"

    ps = push

    pl = pull

    ft = fetch

    dfc = diff --cached

    df = diff

    l = log -p --color

    d = diff --color

    dc = diff --color --cached

    s = status

 

[diff]

    tool = bc3

[difftool "bc3"]

    cmd = \"/d/java/BeyondCompare3/BCompare.exe\" \"$(cygpath -w $LOCAL)\" \"$(cygpath -w $REMOTE)\"

[merge]

    tool = bc3

[mergetool]

    prompt = false

[mergetool "bc3"]

    cmd = \"/d/java/BeyondCompare3/BCompare.exe\" \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\" \"$MERGED\"

 

[difftool]

    prompt = false

[push]

    default = simple

[user]

    name = wujun

    email = 13550081270@qq.com

[filter "lfs"]

    clean = git-lfs clean -- %f

    smudge = git-lfs smudge -- %f

    process = git-lfs filter-process

    required = true

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值