下記を実行して、pickを全てfにした後に、残したいコミットだけfからpickに戻せばOK
:%s/pick/f/g
Register as a new user and use Qiita more conveniently