how to handle gitting of binaries, e.g. .mo files

后端 未结 3 1015
轻奢々
轻奢々 2021-01-06 13:31

Is there a simple way to handle binary files in git operations? I think my ideal in this case - \'merging\' of .mo files (binary .po messages) - would be to give precedence

3条回答
  •  无人及你
    2021-01-06 14:25

    basically this concept was nicely explain here How do I tell git to always select my local version for conflicted merges on a specific file?

    and here is a bash script simplifying the steps described there https://github.com/equivalent/git_to_svn_behavior-

    (steps how to run in Readme)

提交回复
热议问题