zoukankan      html  css  js  c++  java
  • 用户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
  • 相关阅读:
    java 求 1!+2!+3!+....+10!的和为
    Java 循环控制语句
    java for 循环 九九乘法表
    Java for 循环
    Java while 和 do...while
    Java if语句
    Java switch 语句
    java a++ 和 ++a 理解
    Java 自动转换和强制转换
    二叉树遍历
  • 原文地址:https://www.cnblogs.com/welhzh/p/4753465.html
Copyright © 2011-2022 走看看