Dany ParedesforDanywalls | Angular ♥ Webdanywalls4.hashnode.net·Feb 9, 2022How to show the git branch in the terminalI'm a git Kraken lover but sometimes surf into my projects. I love to know in which branch I'm working. Edit the .bash_profile and paste the following lines. parse_git_branch() { git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' ...2.2K readshow-toosxAdd a thoughtful commentNo comments yetBe the first to start the conversation.