Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

The '.git/hooks/pre-push' hook was ignored because it's not set as executable #16

Open
lealceldeiro opened this issue Jan 20, 2020 · 0 comments
Assignees
Labels
intergation used to indicate issues regarding CI/CD

Comments

@lealceldeiro
Copy link
Owner

Describe the bug
On a Unix environment, when some changes are pushed the git hooks are not executed unless they are granted the execution permission manually through the console.

To Reproduce
Steps to reproduce the behavior:

  1. Make some changes in the source code
  2. Commit those changes
  3. Push those changes
  4. See how the changes are pushed but the git hooks are not executed. Additionally, you get a message in the console: The '.git/hooks/pre-push' hook was ignored because it's not set as executable.

Expected behavior
To get the git hooks executed before pushing unless some git options such as --no-verify is used.

Screenshots
console

Desktop (please complete the following information):

  • OS: Linux Mint
@lealceldeiro lealceldeiro self-assigned this Jan 20, 2020
@lealceldeiro lealceldeiro added the intergation used to indicate issues regarding CI/CD label Jan 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
intergation used to indicate issues regarding CI/CD
Projects
None yet
Development

No branches or pull requests

1 participant