git进行rebase操作报错提示“hint: Waiting for your editor to close the file... ”
生活随笔
收集整理的這篇文章主要介紹了
git进行rebase操作报错提示“hint: Waiting for your editor to close the file... ”
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
問題: 在git bash中使用git rebase -i時提示:hint: Waiting for your editor to close the file... "C:/Program Files (x86)/GitExtensions/GitExtensions.exe"
原因: 這是由于前端時間我卸載了GitExtensions工具,導致git默認的編輯器還是用的GitExtensions,當需要進行編輯的時候找不到這個工具,所以報錯
解決辦法: 在git bash中使用以下命令修改默認編輯器為vim
git config --global core.editor 'vim'總結
以上是生活随笔為你收集整理的git进行rebase操作报错提示“hint: Waiting for your editor to close the file... ”的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 剖析供应链金融业务发展态势及提升路径
- 下一篇: 机器学习实战之信用卡诈骗(一)