$ git clone -n https://src.fedoraproject.org/rpms/ansifilter.git /var/lib/mock/f41-build-852126-166238/root/chroot_tmpdir/scmroot/ansifilter Cloning into '/var/lib/mock/f41-build-852126-166238/root/chroot_tmpdir/scmroot/ansifilter'... $ git fetch origin 9e3135484d7f9035d4c1d47aa5f6922b46bdcc77:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ansifilter * [new ref] 9e3135484d7f9035d4c1d47aa5f6922b46bdcc77 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9e31354 - Update to 2.21 fixes rhbz#2310316