$ git clone -n https://src.fedoraproject.org/rpms/grantlee-editor.git /var/lib/mock/f40-build-798200-141760/root/chroot_tmpdir/scmroot/grantlee-editor Cloning into '/var/lib/mock/f40-build-798200-141760/root/chroot_tmpdir/scmroot/grantlee-editor'... $ git fetch origin 0dc38c5ae1892c8e2c8cc1207b2c7a9398a16b18:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/grantlee-editor * [new ref] 0dc38c5ae1892c8e2c8cc1207b2c7a9398a16b18 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0dc38c5 24.02.0