HF RL Explorer

Task: Programmatically Determine the Current Git Branch

Task: Programmatically Determine the Current Git Branch: a task in Terminal-Lego-15k (Harbor dataset). Write a shell script that programmatically determines the current checked out Git branch in a working directory. This is useful for automatically labeling releases or integrating branch…

The task

Write a shell script that programmatically determines the current checked out Git branch in a working directory. This is useful for automatically labeling releases or integrating branch information into build processes.

Part of PrimeIntellect/Terminal-Lego-15k.