Just trying to enchance my knowledge of git and use to tips and tricks,
I updated my .bashrc file as suggested in Tip PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
but to my surprise now my git branch command is not working and even if I remove it from .bashrc than also it is not working for me.
Also every time, I use my command prompt I get -bash: __git_ps1: command not found
any guidance or suggestions ?
Update : I want to get rid of it now, how can I achieve this ?