Add new copy command for branches

Created on 4 August 2022, almost 2 years ago
Updated 8 March 2024, 4 months ago

Problem/Motivation

On these issue pages, there are commands provided to check out a new branch.
Awesome, but the one thing I notice is that there isn't a command to copy just to check out the branch or to pull.

Sure, you can copy the git checkout -b command, but we know that when using terminal you have to hold the left directional button to get to the space you need, you cant just hover and click to erase the "-b".

The reason I feel it'd be important to add a copy icon next to the branch and remote name is because the remote names change each time and the branch names get long winded, so it'll save a bit of time for the end user. (edited) 

Proposed resolution

If it's a whole brand new command to just copy the branch name on another line, then we probably don't have to worry too much about testing the different ways its used.

If we want to change any existing commands to adjsut/remove something, then we should definitely test a bunch of git command scenarios.

✨ Feature request
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States crawleyhost

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024