Menu

Close
  • Home
  • LinkedIn
  • Real Life Code @ Micreosoft
  • GitHub
Subscribe
Shawn Cicoria Menu

A better git bash prompt

11 April 2019 on github, bash, Utilities, tips
git clone https://github.com/magicmonty/bash-git-prompt.git ~/.bash-git-prompt --depth=1

cat >> ~/.bashrc <<EOF  
if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then  
    GIT_PROMPT_ONLY_IN_REPO=1
    source $HOME/.bash-git-prompt/gitprompt.sh
fi  
EOF  
Shawn Cicoria's Picture

Shawn Cicoria

Read more posts by this author.

Share this post

Twitter Facebook Google+

Using Azure CLI with two different credentials

Sometimes you need to logon to more than one Azure Active Directory (don't ask why). Normally the azure cli…

npx business cards - gone viral so fast...

Not sure if Tierney is the true root, but it's where I saw it first. Just follow that thread,…

Shawn Cicoria © 2021
Proudly published with Ghost