To display the current branch you're on, without the other branches listed, you can do the following:
git rev-parse --abbrev-ref HEAD
Reference:
To display the current branch you're on, without the other branches listed, you can do the following:
git rev-parse --abbrev-ref HEAD
Reference:
Flisks is a developer, digital marketing, SEO, and blogging enthusiast. Apart from copywriting, he loves travel, music, and adventures. He is a passionate learner and a dreamer.