$ git clone -n https://src.fedoraproject.org/rpms/ghc-servant-foreign.git /var/lib/mock/f38-build-side-42-init-devel-1318439-30690/root/chroot_tmpdir/scmroot/ghc-servant-foreign Cloning into '/var/lib/mock/f38-build-side-42-init-devel-1318439-30690/root/chroot_tmpdir/scmroot/ghc-servant-foreign'... $ git fetch origin 02a99e7a3fa92e0d575b98b1bcf4e8a30dc53e4d:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ghc-servant-foreign * [new ref] 02a99e7a3fa92e0d575b98b1bcf4e8a30dc53e4d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 02a99e7 Convert to %autorelease and %autochangelog