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 61157ca commit db04510Copy full SHA for db04510
SECURITY.md
@@ -20,3 +20,16 @@ Key fingerprint = 475F 3B8E 59E6 E63A A780 6748 2C7B 12F2 A511 E325
20
uid Ceki Gulcu <[email protected]>
21
sub 2048R/7FBFA159 2012-04-26
22
```
23
+
24
+## Preventing commit history overwrite
25
26
+In order to prevent loss of commit history, developers of the project
27
+are highly encouraged to deny branch deletions or history overwrites
28
+by invoking the following two commands on their local copy of the
29
+repository.
30
31
32
+```
33
+git config receive.denyDelete true
34
+git config receive.denyNonFastForwards true
35
0 commit comments