How to copy a git branch name from an issue in Linear

Copy a git branch name from any Linear issue in one click, then paste it into your git client so your branch and the issue stay linked from the start.

Quick answer

Open the issue in Linear, then click Copy branch name in the issue header. Linear copies the branch name to your clipboard and confirms it with a message. You can also open Issue options, choose Copy, and pick Copy git branch name. Paste the name into your git client when you create the branch.

Steps at a glance

  1. Open the issue from the issue list.
  2. Click Copy branch name in the issue header.
  3. Read the confirmation message.
  4. Or open Issue options and hover Copy.
  5. Choose Copy git branch name.
  6. Paste the name into your git client.

Interactive demo

Loading demo…

Summary

Linear generates a git branch name for every issue. Copying it from the issue saves you from typing a name by hand, and it keeps the branch tied to the issue it belongs to.

Step-by-step guide

  1. Step 1

    Open the issue

    In your team's issue list, click the issue you are about to work on. The issue page opens with its title, description, and activity.

  2. Step 2

    Copy the branch name

    In the issue header, click Copy branch name. It sits next to Copy issue URL and Copy issue ID.

  3. Step 3

    Open the issue options

    Linear confirms with the message "Branch name copied to clipboard. Paste it into your favorite git client." The branch name is now on your clipboard. If you prefer menus, click Issue options to open the issue menu.

  4. Step 4

    Or use the Copy menu

    In the menu, hover Copy to open its submenu, then choose Copy git branch name. The menu also lists the shortcut Command Shift . next to this item.

Why this matters

You are about to start work on an issue and need a branch for it. Copying the name Linear generates means you skip naming the branch yourself and start coding straight away with the branch already matched to the issue.

Frequently asked questions

  • Where do I paste the branch name?

    Paste it into your git client when you create the branch, as the confirmation message suggests.

  • Is there more than one way to copy the branch name?

    Yes. Click Copy branch name in the issue header, or open Issue options, hover Copy, and choose Copy git branch name.

Create interactive demos like this one — free, no coding required.

Start for free →