$ git clone -n https://src.fedoraproject.org/rpms/snowball.git /var/lib/mock/f40-build-789153-135664/root/chroot_tmpdir/scmroot/snowball Cloning into '/var/lib/mock/f40-build-789153-135664/root/chroot_tmpdir/scmroot/snowball'... $ git fetch origin 8893641776b522b1f87560f137d97582ad4ba7f0:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/snowball * [new ref] 8893641776b522b1f87560f137d97582ad4ba7f0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8893641 Drop workaround for bz 2173192