Securing Git repositories

on Monday, 17 November 2014
Edit .git/config in the [receive] section:


# no rewriting history
denyNonFastForwards = true
# no deleting history
denyDeletes = true
# check object consistency
fsckObjects = true


0 comments:

Post a Comment