Git Status on Prompt
When you edit files in terminal, you can’t really tell how many files have been changed, staged and/or committed at a glance.
bash-git-prompt is an open source utility that helps you keep track on files under Git. Once you install it (the instruction is on their site), you can see the basic statistics in the prompt.
All up to date
File has been added but not staged yet
File has been staged
File has been committed but not pushed to the remote server
File has been changed but not staged
All the file status under Git can be accessed by executing the following command:
It’s very convenient to be able to on the prompt without having to execute it.