$ git clone -n https://gitee.com/src-anolis-os/libei.git /var/lib/mock/dist-an23.3-build-417606-72869/root/chroot_tmpdir/scmroot/libei Cloning into '/var/lib/mock/dist-an23.3-build-417606-72869/root/chroot_tmpdir/scmroot/libei'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libei * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cf305d0 update to 1.3.0-1