Hi,

 First, *push* really just mean to send data to a remote and it doesn't 
create anything. If you don't want anybody to *commit* file more than 30MB, 
than it must be prior to the *commit*. Git gives *git-hooks 
*(https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks) 
exactly for that called *pre-commit* hook. Here is a video that explain the 
way it works : https://www.youtube.com/watch?v=MF72e-12dxE.

On Thursday, February 18, 2016 at 4:57:15 AM UTC-5, zdh...@gmail.com wrote:
>
> hello everyone
> I have a problem
> I would like to check the file size before push, if more than 30M, not 
> allowed to submit, and give tips
> Where should I set it up
>
> gitlab:8.0
> git:1.8
> apache:2.4
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to