text Git配置

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text Git配置相关的知识,希望对你有一定的参考价值。

[alias]
    co     = checkout
    ck     = checkout
    br     = branch
    ci     = commit
    st     = status
    s      = status
    c      = commit -m
    i      = !git ls-files -v | grep "^[[:lower:]]"
    ll     = !git --no-pager log -50 --graph --date-order -C -M --pretty=format:\"%C(yellow)%h%C(reset) - %C(green)%ad%C(reset) - %C(blue)%an%C(reset) %C(bold red)-%C(reset) %C(white)%s%C(reset) %C(bold red)%d%C(reset) \" --abbrev-commit --date=short
    up-sub = "!f() { cd $1 && git checkout master && git pull && git submodule update --init --recursive; }; f"
    ff     = "!git diff --color $@ | diff-so-fancy"
    random = !"git add -A; git commit -am \"$(fortune -s -n 80)\";"

[help]
    autocorrect = 3

[log]
    abbrevCommit = false
    decorate = true

[push]
    default = simple

[color]
    ui = true

[core]
    autocrlf = input
    safecrlf = true
    editor = atom

以上是关于text Git配置的主要内容,如果未能解决你的问题,请参考以下文章

text 我的全局git配置

text Git ftp配置和命令

text Git工作流程配置

text Git配置

text git配置文件

text Git配置