$ git clone -n https://gitee.com/mgb01105731/json-c.git /var/lib/mock/dist-an23-build-354906-71027/root/chroot_tmpdir/scmroot/json-c Cloning into '/var/lib/mock/dist-an23-build-354906-71027/root/chroot_tmpdir/scmroot/json-c'... $ git reset --hard e33ff575186b3178370f4845219d8aa7ad540c5a HEAD is now at e33ff57 update to 0.17