git リポジトリでいくつかのコミットを押しつぶそうとしています。
> git rebase -i HEAD~3
Successfully rebased and updated refs/heads/staging.
というタイトルのファイルが開きますgit-rebase-todo
。
pick a2f3467 Require statement incorrect
pick c41212e Require file in environment
pick 2743221 This should work
# Rebase c5f42f3..2743221 onto c5f42f3
# ..........
下の 2 つのコミットをsquash
fromに変更してみましたpick
。ファイルを保存すると、次のエラーが表示されます。
Unable to save ~/Documents/code/myapp/.git/rebase-emrge/git-rebase-todo