Timeline for Git hooks: '.git/hooks/pre-commit': Operation not permitted
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 4 at 9:43 | answer | added | Yaroslav Rizun | timeline score: 0 | |
Feb 10, 2020 at 18:35 | history | edited | j08691 |
edited tags
|
|
Feb 5, 2020 at 22:17 | vote | accept | Eric A. Meyer | ||
Feb 5, 2020 at 18:54 | answer | added | jeff | timeline score: 15 | |
Feb 5, 2020 at 18:43 | history | edited | Eric A. Meyer | CC BY-SA 4.0 |
Edited to add more information about OS and results of running the script directly
|
Feb 5, 2020 at 18:26 | comment | added | Eric A. Meyer |
It is in fact OS X Mojave! I tried running pre-commit directly and got -bash: ./pre-commit: /bin/bash: bad interpreter: Operation not permitted (and the same basic result with sh ),
|
|
Feb 5, 2020 at 18:11 | history | edited | Paul Roub | CC BY-SA 4.0 |
fix typo, so no one is led astray by a ## red herring
|
Feb 5, 2020 at 17:37 | comment | added | torek |
Are you using MacOS? (The @ suggests that you are.) You're probably hitting the System Integrity Protection feature in Mojave.
|
|
Feb 5, 2020 at 17:15 | comment | added | jordanm |
Is your git repository on a filesystem that is mounted with the noexec option?
|
|
Feb 5, 2020 at 17:03 | history | asked | Eric A. Meyer | CC BY-SA 4.0 |