LMSouq
general-dev Open

Adding git branch on the Bash command prompt

GE
George Katsanos
1 month ago
3 views
Problem Description
I tried adding the git branch I'm currently working on (checked-out) on the bash prompt without success.. (**while keeping my current path which shows the active directory/file** intact) I have a .bashrc file on my home, but I also saw many people mentioning the .profile file..

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base