gitconfig配置

我的常用gitconfig配置如下

[core]
    pager = less -JFRSX
[alias]
    br = branch -a
    clog = log --date=short --pretty=format:\"%Cred%ad %Cblue%h %Cgreen%an %Creset%s%C(yellow)%d\"
    slog = log --date=short --pretty=format:\"%C(124)%ad %C(24)%h %C(34)%an %C(252)%s%C(178)%d\"
    llog = log --date=short --format=\"%C(94)--------------------------------------------------------------------------------%n%C(24)%h %C(124)%ad %C(34)%an %C(22)<%ae>%C(130)%d%n%C(178) %s%n%n%B(1)\"

[color]
    branch = auto
    diff = auto
    grep = auto
    interactive = auto
    showbranch = auto
    status = auto
    ui = auto
[color "branch"]
    current = green
    local = yellow
    remote = red
[color "diff"]
    meta = yellow
[color "grep"]
    match = green
[color "status"]
    changed = yellow

[diff]
    renames = true
[diff "odf"]
    command = odt2txt
[diff "jpg"]
    command = exiftool

[i18n]
    logoutputencoding = ISO-8859-1

[merge]
    tool = vimdiff

[rerere]
    enabled = true
[user]
    email = xxxx@gmail.com
    name = xxxx
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值