$ git clone -n https://src.fedoraproject.org/rpms/foobillard.git /var/lib/mock/f40-build-799349-142264/root/chroot_tmpdir/scmroot/foobillard Cloning into '/var/lib/mock/f40-build-799349-142264/root/chroot_tmpdir/scmroot/foobillard'... $ git fetch origin 79266413ea42a06cbee15fe3d20056322b0c0cf5:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/foobillard * [new ref] 79266413ea42a06cbee15fe3d20056322b0c0cf5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7926641 Patch for stricter flags