Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Put current git branch name as value when renaming #72957
Currently when you rename a branch you get an empty input box, and if you just want to fix a typo in the branch name, you need to retype the branch name from scratch.
This is a simple change to put the current branch name in the input box when renaming with the text selected, so current workflows don't need to be changed (it also seems to fit other commands in VS Code).
Please let me know if there's anything else I need to do / add.