Add bash-git-prompt in order to have a more descriptive prompt when working with repositories.

Also, update documentation for bash-git-prompt usage
This commit is contained in:
Scott Collier
2020-01-20 12:24:18 -06:00
parent ad2b455be5
commit b28f449556
5 changed files with 58 additions and 0 deletions

View File

@ -2052,6 +2052,25 @@ AST exposes the abstract syntax tree generated by PHP 7+. This extension is requ
<br>
<a name="Install-Bash-Git-Prompt"></a>
## Install Git Bash Prompt
A bash prompt that displays information about the current git repository. In particular the branch name, difference with remote branch, number of files staged, changed, etc.
1 - Open the `.env` file
2 - Search for the `WORKSPACE_INSTALL_GIT_PROMPT` argument under the Workspace Container
3 - Set it to `true`
4 - Re-build the container `docker-compose build workspace`
**Note** You can configure bash-git-prompt by editing the `workspace/gitprompt.sh` file and re-building the workspace container.
For configuration information, visit the [bash-git-prompt repository](https://github.com/magicmonty/bash-git-prompt).
<br>
<a name="phpstorm-debugging"></a>
## PHPStorm Debugging Guide