You need to sign in or sign up before continuing.
Init repository without sample hooks to reduce size
Problem to solve
When Gitlab initializes a repository, it uses the default git template. In this template, 10+ sample hooks are created. This equals to 18 KBs per repository. If these sample hooks can be removed, we can save some storage space.
Further details
Though this is an insignificant storage saving, it may become more significant since snippets will all be hosted by repository soon.
Proposal
-
git init
allows us to specify a template. By having out own template we can stop sample hook generation - Explicitly deleting sample hooks after init