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