$ git clone -n https://gitee.com/xzyang-anolis/deepin-image-viewer.git /var/lib/mock/dist-an23-dde-build-353014-70865/root/chroot_tmpdir/scmroot/deepin-image-viewer Cloning into '/var/lib/mock/dist-an23-dde-build-353014-70865/root/chroot_tmpdir/scmroot/deepin-image-viewer'... $ git reset --hard 1e863999a6452ee966f0e024d4b2323cd77c4a5c HEAD is now at 1e86399 pkg init