HF RL Explorer

Task: Configure Bash Prompt to Display Current Git Branch and Working Directory

Task: Configure Bash Prompt to Display Current Git Branch and Working Directory: a task in Terminal-Lego-15k (Harbor dataset). Configure your bash shell prompt (PS1) so that when you are inside a Git repository, the prompt displays the current working directory and the current Git branch name. The…

The task

Configure your bash shell prompt (PS1) so that when you are inside a Git repository, the prompt displays the current working directory and the current Git branch name. The prompt should clearly distinguish the directory path and branch name using color formatting.

Part of PrimeIntellect/Terminal-Lego-15k.