Skip to content

Git:server:mirroring

lbonanomi edited this page Jun 3, 2020 · 1 revision

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.

Clone this wiki locally