Git:server:mirroring - lbonanomi/notes GitHub Wiki

Lock an SSH key to git-receive-pack as-below to create a git dropbox homed in $SRC_DIR:

command="git-receive-pack $SRC_DIR"

$SRC_DIR will need to be initialized with git init --bare, but will then be just-fine accepting regular git pushes.