如何配置git
如何配置git本文给出一种更改git配置文件快速配置git的方法,以及一些常用的配置。 配置文件使用方法:- 在目录下新建.gitconfig文件(Windows下就是C:\Users\用户名,Linux下就是)- 在~目录下新建.gitignore文件- 复制一下内容到对应文件中.gitconfig文件内容123456789101112131415161718192021222324252627282930313233343536[user] name = YOUR_NAME email = YOUR_EMAIL[alias] co = commit st = status logl = log --graph --all --oneline ch = checkout cp = cherry-pick[core] quotepath = false editor = code --wait --new-window excludesfile = ~/.gitignore[filter "lfs"] process = git-lfs...