$ git clone -n https://src.fedoraproject.org/rpms/ghc-filepattern.git /var/lib/mock/f38-build-side-42-init-devel-917279-28734/root/chroot_tmpdir/scmroot/ghc-filepattern Cloning into '/var/lib/mock/f38-build-side-42-init-devel-917279-28734/root/chroot_tmpdir/scmroot/ghc-filepattern'... $ git fetch origin 110df33480bd3c55d3cfb410a875515af2e553b0:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-filepattern * [new ref] 110df33480bd3c55d3cfb410a875515af2e553b0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 110df33 Convert to %autorelease and %autochangelog