$ git clone -n https://gitee.com/src-anolis-os/xz.git /var/lib/mock/dist-an23-build-181771-59801/root/chroot_tmpdir/scmroot/xz Cloning into '/var/lib/mock/dist-an23-build-181771-59801/root/chroot_tmpdir/scmroot/xz'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/xz * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 74af873 5.4.0