$ git clone -n https://src.fedoraproject.org/rpms/rocm-smi.git /var/lib/mock/f40-build-805399-144773/root/chroot_tmpdir/scmroot/rocm-smi Cloning into '/var/lib/mock/f40-build-805399-144773/root/chroot_tmpdir/scmroot/rocm-smi'... $ git fetch origin 68f7531caa9332a38e3278ef0f24cc1acfe64faf:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/rocm-smi * [new ref] 68f7531caa9332a38e3278ef0f24cc1acfe64faf -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 68f7531 Fix compile error