$ git clone -n https://gitee.com/src-anolis-os/hivex.git /var/lib/mock/dist-an23-build-235161-62745/root/chroot_tmpdir/scmroot/hivex Cloning into '/var/lib/mock/dist-an23-build-235161-62745/root/chroot_tmpdir/scmroot/hivex'... $ git reset --hard origin/a23 HEAD is now at 4a2a792 Init from upstream