1

** Scenario:**

  • I am using gitkraken to commit my source and instantly get a pre-commit error

    ignoring NAME extension

** Todo:**

  • Fix this error?
Community
  • 1
  • 1
user3547367
  • 163
  • 2
  • 12

1 Answers1

1

If this is a pre-commit hook error, check your repo for a .git/hooks/pre-commit executable file, which could have been generated by GitKraken.

If you have such a file, try and rename it for testing, and see if you can commit.

The git commit --no-verify option to skip any pre-commit hook would not work with GitKraken, as illustrated here.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • There is a --no-verify option that can be added to a few git commands, so hooks can be bypassed. – Lovato Sep 14 '18 at 14:12
  • @Lovato Yes, I mentioned as much in 2011: https://stackoverflow.com/a/7230886/6309. But I don't think that could apply to GitKraken. – VonC Sep 14 '18 at 14:15
  • Got it. There are a few bug reports saying that this feature does exist, but not behaving very well. – Lovato Sep 14 '18 at 15:45
  • @Lovato do you have URLs referencing those bug reports? – VonC Sep 14 '18 at 15:46
  • Search for ~ gitkraken "no verify" ~ on google. There are several links. – Lovato Sep 14 '18 at 16:00