0

I am currently working on IPC (industrial PC) of production line with some equipment and machines. just wondering to know how to get the name of running branch on each machine? for example I have 5 different branches for an specific machine and just need to know which one is running on machine now.

Reezaro
  • 1
  • 1

1 Answers1

-1

The following command displays the current branch, without the others:

git rev-parse --abbrev-ref HEAD
Raida
  • 1,206
  • 5
  • 17