$ git clone -n https://gitee.com/fundawang/libpng.git /var/lib/mock/dist-an8.6-build-129791-46203/root/chroot_tmpdir/scmroot/libpng Cloning into '/var/lib/mock/dist-an8.6-build-129791-46203/root/chroot_tmpdir/scmroot/libpng'... $ git reset --hard 139791a857a571338a9f30e8070c02c3910d7feb HEAD is now at 139791a 1.6.38