Can't read standard input or get parameters #1451
Unanswered
nicolas-cherel
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The hooks doc https://git-scm.com/docs/githooks referenced that information on was is happenning on hook command can be passed as script parameter or standard input.
I'm interested for le pre-push hook:
I tried to read script parameters or
read
standard input input a shell variable, but I can't seem to get anything useful. Is there something I miss, or maybe those are simply not available ?Beta Was this translation helpful? Give feedback.
All reactions