Add Git Changes to Bash in Ubuntu
This is a follow up post to adding git changes to bash from couple month ago.
I wrote that I was missing posh-git extension in bash and guess what happened. David Xu implemented a wonderful clone of the PowerShell version called posh-git-bash.
Installation is really simple, just clone the project into your home directory.
git clone https://github.com/lyze/posh-git-sh.git
And the only thing you need to do in Ubuntu to run it is modifying the
source ~/posh-git-bash/git-prompt.sh PROMPT_COMMAND='__git_ps1 "\w" "\\\$ "'
No more forgotten commits. Amazing script that would make your day better.