Limiting file size in git repository

前端 未结 11 1481
星月不相逢
星月不相逢 2020-12-02 14:55

I\'m currently thinking of changing my VCS (from subversion) to git. Is it possible to limit the file size within a commit in a git repository? For e. g. subversion there is

11条回答
  •  一整个雨季
    2020-12-02 15:10

    Yes, git has hooks as well (git hooks). But it kind of depends on the actually work-flow you will be using.

    If you have inexperienced users, it is much safer to pull, then to let them push. That way, you can make sure they won't screw up the main repository.

提交回复
热议问题