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