We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2c869a commit 27252b7Copy full SHA for 27252b7
contrib/verify-commits/pre-push-hook.sh
@@ -1,5 +1,5 @@
1
#!/bin/bash
2
-if ! [[ "$2" =~ [git@]?[www.]?github.com[:|/]bitcoin/bitcoin[.git]? ]]; then
+if ! [[ "$2" =~ ^(git@)?(www.)?github.com(:|/)bitcoin/bitcoin(.git)?$ ]]; then
3
exit 0
4
fi
5
0 commit comments