-
-
Save ryanlid/ac710f222bb345649edc099a29d1a504 to your computer and use it in GitHub Desktop.
配置文件
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # global .gitconfig | |
| [user] | |
| name = dong.li | |
| email = 530555402@qq.com | |
| [core] | |
| # 配置方法 | |
| # https://www.cnblogs.com/flying_bat/p/3324769.html | |
| # 禁用中文转义 | |
| quotepath = false | |
| # 禁用换行符自动转换 | |
| autocrlf = false | |
| # 拒绝提交包含混合换行符的文件 | |
| safecrlf = true | |
| # 忽略文件权限修改 | |
| filemode = false | |
| excludesfile = C:\\Users\\wm007\\.gitignore | |
| [difftool "sourcetree"] | |
| cmd = 'd:/Program Files/Beyond Compare 4/BComp.exe' \"$LOCAL\" \"$REMOTE\" | |
| [alias] | |
| last = log -1 | |
| lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
| lgld = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --author=dong.li | |
| s = status | |
| cm = commit | |
| mm = merge master | |
| pom = push origin master | |
| com = checkout master | |
| cold = checkout ld-feature | |
| cnld = checkout -b ld-feature | |
| ddld = branch -d ld-feature | |
| pold = push origin ld-feature | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment