$ git clone -n https://gitee.com/mgb01105731/json-c.git /var/lib/mock/dist-an23-build-126486-46161/root/chroot_tmpdir/scmroot/json-c Cloning into '/var/lib/mock/dist-an23-build-126486-46161/root/chroot_tmpdir/scmroot/json-c'... $ git reset --hard origin/a23 HEAD is now at a9adc3c update to 0.16