$ git clone -n https://gitee.com/src-anolis-os/lua.git /var/lib/mock/dist-an8.9-build-365273-71163/root/chroot_tmpdir/scmroot/lua Cloning into '/var/lib/mock/dist-an8.9-build-365273-71163/root/chroot_tmpdir/scmroot/lua'... $ git fetch origin d3398241fda2da559651af79eaa309c4b7c68f4e:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/lua * [new ref] d3398241fda2da559651af79eaa309c4b7c68f4e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d339824 add sw