$ git clone -n https://src.fedoraproject.org/rpms/kalk.git /var/lib/mock/f40-build-802804-144106/root/chroot_tmpdir/scmroot/kalk Cloning into '/var/lib/mock/f40-build-802804-144106/root/chroot_tmpdir/scmroot/kalk'... $ git fetch origin da71f6de6421b22d503f85d732bc7335b8d4aa1e:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kalk * [new ref] da71f6de6421b22d503f85d732bc7335b8d4aa1e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at da71f6d 24.02.1