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 4d2c124 commit 4993069Copy full SHA for 4993069
.gitconfig
@@ -0,0 +1,14 @@
1
+# Git config file extending local configuration.
2
+# Should be added to local config:
3
+# ~~~
4
+# git config --local --add include.path ../.gitconfig
5
6
+
7
+# Configure "pre-commit" hook.
8
+# Requires https://github.com/slavcodev/git-hooks
9
+[hooks "pre-commit"]
10
+ disallow-commits = disallow-commits/disallow-commits
11
12
+# Disallow mistakenly commits to master.
13
+[disallow-commits]
14
+ branch = master
0 commit comments