An easy way of doing it:
git branch | grep \*
An easy way of doing it:
git branch | grep \*
For further actions, you may consider blocking this person and/or reporting abuse
Anik Dash Akash -
Madhav Ganesan -
Ashish prajapati -
Sospeter Mong'are -
Top comments (3)
You can also use
__git_ps1
:This is not working on my machine (running ArchLinux), where is this command from?
Hm, I don't remember. It's worked for me on both Gentoo and Debian/Ubuntu (and derivatives), but don't know much about Arch. It's been in my
~/.bashrc
for years, I don't know where I got it or why it wouldn't work on Arch.