.bash_history does not update in Git for Windows (git bash)

后端 未结 7 1166
慢半拍i
慢半拍i 2020-12-13 01:30

I am using Git for Windows (ver. 1.7.8-preview20111206) and even though I have a .bash_history file in my HOME folder, it never automatically gets updated. When I start Git

7条回答
  •  情歌与酒
    2020-12-13 02:29

    If you're using Git bash in VSCode please see C.M.'s comment above.

    This worked for running git's bash in Visual Studio Code, but I had to put it ~/.bashrc not ~/.bash_profile. – C.M. Jul 29 at 14:43

    This solved it for me.

提交回复
热议问题