Using Git with VB6

前端 未结 7 608
轻奢々
轻奢々 2020-12-05 08:00

Our company has a large codebase in VB6, and we currently use VSS which, for all that we hate about it, at least integrates into the VB6 IDE.

My own team, which is u

7条回答
  •  一生所求
    2020-12-05 08:26

    I found this solution to work in our situation. It adds a bit more to the previous answers and solved all of our MANY issues getting our project to work with git.

    .gitattributes

    # Set the default behavior, in case people don't have core.autocrlf set.
    * text eol=auto
    *.bas text eol=crlf
    *.frm text eol=crlf
    *.log text eol=crlf
    *.vbp text eol=crlf
    *.cls text eol=crlf
    *.vbw text eol=crlf
    *.dsr text eol=crlf
    *.ini text eol=crlf
    *.res binary
    *.RES binary
    *.frx binary
    *.exe binary
    *.dll binary
    *.ico binary
    *.gif binary
    *.ocx binary
    *.tlb binary
    *.ocx.bin binary
    *.ism binary
    *.bin binary
    *.aps binary
    *.ncb binary
    *.exe.compat binary
    *.ocx.compat binary
    

    .gitignore

    .DS_Store
    .Trashes
    *.vbw
    *.csi
    *.exp
    *.lib
    *.lvw
    *.dca
    *.scc
    *.tmp
    
    

提交回复
热议问题