用户home目录下的.gitconfig 和 库文件夹目录下的 .gitignore 示例
.gitconfig文件:
[user] name = hzh email = 924948@qq.com [core] editor = vi quotepath = false
# git config --global core.autocrlf true
autocrlf = true
# git config --global core.whitespace cr-at-eol
whitespace = cr-at-eol
[merge] tool = kdiff3 [mergetool "kdiff3"] #path = E:/playground/softwares/KDiff3/kdiff3.exe keepBackup = false trustExitCode = false [diff] tool = kdiff3 [difftool "kdiff3"] #path = E:/playground/softwares/KDiff3/kdiff3.exe keepBackup = false trustExitCode = false [alias] co = commit br = branch ch = checkout st = status last = log -1 HEAD [color] diff = auto status = auto branch = auto [push] default = matching
.gitignore文件:
#ignore thumbnails created by windows Thumbs.db #Ignore files build by Visual Studio *.obj *.exe *.pdb *.user *.aps *.pch *.vspscc *.ncb *.suo *.tlb *.tlh *.bak *.cache *.ilk *.log [Dd]ebug*/ *.lib *.sbr obj/
out/ [Rr]elease*/ _ReSharper*/ [Tt]est[Rr]esult*
[Bb]in
/gen
*.class
*.o
*.so
# *.so.*
*~
*.orig
/proguard
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
支付宝扫一扫捐赠
支付宝扫一扫捐赠
微信公众号: 共鸣圈
欢迎讨论,邮件: 924948$qq.com 请把$改成@
QQ群:263132197
QQ: 924948