$ git clone -n https://gitee.com/src-anolis-os/jbig2dec.git /var/lib/mock/dist-an23-build-341166-69863/root/chroot_tmpdir/scmroot/jbig2dec Cloning into '/var/lib/mock/dist-an23-build-341166-69863/root/chroot_tmpdir/scmroot/jbig2dec'... $ git reset --hard origin/a23 HEAD is now at 7e60a7d rebuild