I am trying to restrict the size of the git push using a pre-receive
hook. In the case of svn I can do it with a precommit hook by checking the size of the transaction file. I am not sure how to do this with git. Any suggestions ?
Asked
Active
Viewed 187 times
1

Mark Longair
- 446,582
- 72
- 411
- 327

Version Control Buddy
- 1,416
- 10
- 14
-
I think this question is duplicated http://stackoverflow.com/questions/7147699/limiting-file-size-in-git-repository – Francisco Puga Nov 08 '11 at 11:25