I don't know why git bash has become like this, what should I do?
高洛峰
高洛峰 2017-05-02 09:49:56
0
2
671

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? ?

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(2)
淡淡烟草味

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?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template