Display Git Branch or Tag Names in your Bash Prompt
Whilst watching Drupalize.me's recent
Introduction to Git series,
I thought it was useful the way that the current Git branch or tag name was
displayed in the bash prompt.
Restart your Terminal or type source ~/.bashrc to see your changes.
Was this useful?
About me
I'm an Acquia-certified Drupal Triple Expert with 17 years of experience, an open-source software maintainer and Drupal core contributor, public speaker, live streamer, and host of the Beyond Blocks podcast.