$ git clone -n https://gitee.com/src-anolis-os/rtkit.git /mnt/mock/kojid//dist-an23.3-riscv-build-439309-73130/root/chroot_tmpdir/scmroot/rtkit Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-439309-73130/root/chroot_tmpdir/scmroot/rtkit'... $ git fetch origin 1cae503d06d4e97dc077ee02ac52e89218b03f63:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/rtkit * [new ref] 1cae503d06d4e97dc077ee02ac52e89218b03f63 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1cae503 fix useradd in pre script