git pull すると error: cannot lock ref が出る
以下のようなエラー文が出て git pull できないことがありました。
# git pull error: cannot lock ref 'refs/remotes/origin/feature/#100_fix_application': is at 1d5d3c7777d883a428ffaf37a6f3ea2e77efccd9 but expected 9b681a8a212a74e003c4b9c44f4a9e36f17d8779 From ssh://git.hogehoge/fuga/piyo ! 9b681a8a..1d5d3c77 feature/#100_fix_application -> origin/feature/#100_fix_application (unable to update local ref)
以下のコマンドで解決!
git remote prune origin