ankushdharkar / Terminal-Prompt-With-Git-Info

It shows a terminal prompt that shows the status of a git repository you may be in

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ABOUT

If the current folder is a git repository, adds the following to the prompt (if applicable):

  • git branch name
  • git status (* for uncommited changes)
  • ahead or behind status from the remote

Img1

Img2

INSTRUCTIONS

Simply add the code available in the .profile and .bash_profile to the same files in your $HOME directory (They may be hidden, so you can use the terminal to edit them vi ~/.bash_profile or vi $HOME/.profile e.g. You can also open them up in your favorite editors)

About

It shows a terminal prompt that shows the status of a git repository you may be in


Languages

Language:Shell 100.0%