[go: up one dir, main page]

Skip to content

Show branch name in workspace terminal

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem

The terminal lacks some quality of life features that many git users have become accustomed to in their local IDEs. For example, we don't show the branch name. Identifying branch names was particularly challenging for users unfamiliar with VS Code.

GitLab workspace Local VS Code

image.png

image.png

Solution

Expose the current branch in the command line prompt.

Supporting evidence:

From UX Scorcard:

  • "The fact the branch doesn’t display in terminal is probably a setting I’m guessing but is there any way that to be defaulted?" (using git on command line)"
Edited by 🤖 GitLab Bot 🤖