$ git clone -n https://gitee.com/src-anolis-os/pbzip2.git /mnt/mock/kojid//dist-an23.3-riscv-build-438187-73130/root/chroot_tmpdir/scmroot/pbzip2 Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-438187-73130/root/chroot_tmpdir/scmroot/pbzip2'... $ git fetch origin aaf4ed0505f965b904a083b598d4b196d5584b6a:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/pbzip2 * [new ref] aaf4ed0505f965b904a083b598d4b196d5584b6a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at aaf4ed0 update spec file