$ git clone -n https://src.fedoraproject.org/rpms/ghc-http-directory.git /var/lib/mock/f38-build-689369-82524/root/chroot_tmpdir/scmroot/ghc-http-directory Cloning into '/var/lib/mock/f38-build-689369-82524/root/chroot_tmpdir/scmroot/ghc-http-directory'... $ git reset --hard bc162d68fc1663956ac209a573c6a5c3ce8eb538 HEAD is now at bc162d6 Convert to %autorelease and %autochangelog