-
-
Notifications
You must be signed in to change notification settings - Fork 998
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ceki Gulcu <[email protected]>
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,17 @@ Key fingerprint = 475F 3B8E 59E6 E63A A780 6748 2C7B 12F2 A511 E325 | |
uid Ceki Gulcu <[email protected]> | ||
sub 2048R/7FBFA159 2012-04-26 | ||
``` | ||
|
||
|
||
## Preventing commit history overwrite | ||
|
||
In order to prevent loss of commit history, developers of the project | ||
are highly encouraged to deny branch deletions or history overwrites | ||
by invoking the following two commands on their local copy of the | ||
repository. | ||
|
||
|
||
``` | ||
git config receive.denyDelete true | ||
git config receive.denyNonFastForwards true | ||
``` |