I don't know why git bash has become like this, what should I do?
高洛峰2017-05-02 09:49:56
0
2
666
My git bash suddenly became like this. It is very difficult to use and the delete key cannot be used. What should I do? ? ? Were there always paths in the past? ?
http://blog.csdn.net/scofy0/a...
The steps are as follows:
vim ~/.bash_profile
(It doesn’t matter how many .bash_profile files there are, you can create a new one yourself)
Add
export PS1='[u@h W]$' at the end
Then execute
source ~/.bash_profile
This way the shell can display the path.
Try reinstalling git?