Hi Emad - Nice explanation, easy to understand.. ! I have a query , can u pls help ! I have a request for pre-commit hooks with 2 parameters to pass. Could you please help ! 1. If the file size being committed is more than max file size =1024kb/1mb , git should prevent the file(s) from commit. 2. Comma separated file paths. If the files committed are separated by commas (e.g: c:\my folder\my files, c:\my folder\my files1), git should prevent the files from commit.
Good and undertandable tuto. You did not talk about remote hooks
Hi Emad - Nice explanation, easy to understand.. !
I have a query , can u pls help !
I have a request for pre-commit hooks with 2 parameters to pass. Could you please help !
1. If the file size being committed is more than max file size =1024kb/1mb , git should prevent the file(s) from commit.
2. Comma separated file paths. If the files committed are separated by commas (e.g: c:\my folder\my files, c:\my folder\my files1), git should prevent the files from commit.