gentleface

Gentleface › Development › git-worktree

git-worktree icon

Git worktree: git worktree, worktree. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M12.854 5.854C12.754 5.953 12.636 6.003 12.5 6.003C12.364 6.003 12.246 5.953 12.146 5.854C12.049 5.756 12 5.638 12 5.5C12 5.362 12.049 5.244 12.146 5.146L13.293 4L9.5 4C9.309 4 9.125 4.035 8.948 4.105C8.755 4.182 8.586 4.293 8.439 4.439C8.293 4.586 8.182 4.755 8.105 4.948C8.035 5.125 8 5.309 8 5.5L8 9.5C8 9.691 8.035 9.875 8.105 10.052C8.182 10.245 8.293 10.414 8.439 10.561C8.586 10.707 8.755 10.818 8.948 10.895C9.125 10.965 9.309 11 9.5 11L13.293 11L12.146 9.854C12.047 9.754 11.997 9.636 11.997 9.5C11.997 9.364 12.047 9.246 12.146 9.146C12.246 9.047 12.364 8.997 12.5 8.997C12.636 8.997 12.754 9.047 12.854 9.146L14.854 11.146C14.953 11.246 15.003 11.364 15.003 11.5C15.003 11.636 14.953 11.754 14.854 11.854L12.854 13.854C12.754 13.953 12.636 14.003 12.5 14.003C12.364 14.003 12.246 13.953 12.146 13.854C12.047 13.754 11.997 13.636 11.997 13.5C11.997 13.364 12.047 13.246 12.146 13.146L13.293 12L9.5 12C9.182 12 8.875 11.941 8.58 11.824C8.259 11.697 7.976 11.512 7.732 11.268C7.488 11.024 7.303 10.741 7.176 10.42C7.059 10.125 7 9.818 7 9.5L7 8L5.95 8C5.921 8.142 5.879 8.283 5.824 8.42C5.697 8.741 5.512 9.024 5.268 9.268C5.024 9.512 4.741 9.697 4.42 9.824C4.125 9.941 3.818 10 3.5 10C3.182 10 2.875 9.941 2.58 9.824C2.259 9.697 1.976 9.512 1.732 9.268C1.488 9.024 1.303 8.741 1.176 8.42C1.059 8.125 1 7.818 1 7.5C1 7.182 1.059 6.875 1.176 6.58C1.303 6.259 1.488 5.976 1.732 5.732C1.976 5.488 2.259 5.303 2.58 5.176C2.875 5.059 3.182 5 3.5 5C3.818 5 4.125 5.059 4.42 5.176C4.741 5.303 5.024 5.488 5.268 5.732C5.512 5.976 5.697 6.259 5.824 6.58C5.879 6.717 5.921 6.858 5.95 7L7 7L7 5.5C7 5.182 7.059 4.875 7.176 4.58C7.303 4.259 7.488 3.976 7.732 3.732C7.976 3.488 8.259 3.303 8.58 3.176C8.875 3.059 9.182 3 9.5 3L13.293 3L12.146 1.854C12.049 1.756 12 1.638 12 1.5C12 1.362 12.049 1.244 12.146 1.146C12.246 1.047 12.364 0.997 12.5 0.997C12.636 0.997 12.754 1.047 12.854 1.146L14.854 3.146C14.953 3.246 15.003 3.364 15.003 3.5C15.003 3.636 14.953 3.754 14.854 3.854L12.854 5.854ZM2.439 8.561C2.586 8.707 2.755 8.818 2.948 8.895C3.125 8.965 3.309 9 3.5 9C3.691 9 3.875 8.965 4.052 8.895C4.245 8.818 4.414 8.707 4.561 8.561C4.707 8.414 4.818 8.245 4.895 8.052C4.965 7.875 5 7.691 5 7.5C5 7.309 4.965 7.125 4.895 6.948C4.818 6.755 4.707 6.586 4.561 6.439C4.414 6.293 4.245 6.182 4.052 6.105C3.875 6.035 3.691 6 3.5 6C3.309 6 3.125 6.035 2.948 6.105C2.755 6.182 2.586 6.293 2.439 6.439C2.293 6.586 2.182 6.755 2.105 6.948C2.035 7.125 2 7.309 2 7.5C2 7.691 2.035 7.875 2.105 8.052C2.182 8.245 2.293 8.414 2.439 8.561Z"/></svg>
React
// Gentleface "git-worktree" (line-round), MIT. https://gentleface.com/icons/git-worktree
import type { SVGProps } from 'react';

export function GitWorktreeIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M12.854 5.854C12.754 5.953 12.636 6.003 12.5 6.003C12.364 6.003 12.246 5.953 12.146 5.854C12.049 5.756 12 5.638 12 5.5C12 5.362 12.049 5.244 12.146 5.146L13.293 4L9.5 4C9.309 4 9.125 4.035 8.948 4.105C8.755 4.182 8.586 4.293 8.439 4.439C8.293 4.586 8.182 4.755 8.105 4.948C8.035 5.125 8 5.309 8 5.5L8 9.5C8 9.691 8.035 9.875 8.105 10.052C8.182 10.245 8.293 10.414 8.439 10.561C8.586 10.707 8.755 10.818 8.948 10.895C9.125 10.965 9.309 11 9.5 11L13.293 11L12.146 9.854C12.047 9.754 11.997 9.636 11.997 9.5C11.997 9.364 12.047 9.246 12.146 9.146C12.246 9.047 12.364 8.997 12.5 8.997C12.636 8.997 12.754 9.047 12.854 9.146L14.854 11.146C14.953 11.246 15.003 11.364 15.003 11.5C15.003 11.636 14.953 11.754 14.854 11.854L12.854 13.854C12.754 13.953 12.636 14.003 12.5 14.003C12.364 14.003 12.246 13.953 12.146 13.854C12.047 13.754 11.997 13.636 11.997 13.5C11.997 13.364 12.047 13.246 12.146 13.146L13.293 12L9.5 12C9.182 12 8.875 11.941 8.58 11.824C8.259 11.697 7.976 11.512 7.732 11.268C7.488 11.024 7.303 10.741 7.176 10.42C7.059 10.125 7 9.818 7 9.5L7 8L5.95 8C5.921 8.142 5.879 8.283 5.824 8.42C5.697 8.741 5.512 9.024 5.268 9.268C5.024 9.512 4.741 9.697 4.42 9.824C4.125 9.941 3.818 10 3.5 10C3.182 10 2.875 9.941 2.58 9.824C2.259 9.697 1.976 9.512 1.732 9.268C1.488 9.024 1.303 8.741 1.176 8.42C1.059 8.125 1 7.818 1 7.5C1 7.182 1.059 6.875 1.176 6.58C1.303 6.259 1.488 5.976 1.732 5.732C1.976 5.488 2.259 5.303 2.58 5.176C2.875 5.059 3.182 5 3.5 5C3.818 5 4.125 5.059 4.42 5.176C4.741 5.303 5.024 5.488 5.268 5.732C5.512 5.976 5.697 6.259 5.824 6.58C5.879 6.717 5.921 6.858 5.95 7L7 7L7 5.5C7 5.182 7.059 4.875 7.176 4.58C7.303 4.259 7.488 3.976 7.732 3.732C7.976 3.488 8.259 3.303 8.58 3.176C8.875 3.059 9.182 3 9.5 3L13.293 3L12.146 1.854C12.049 1.756 12 1.638 12 1.5C12 1.362 12.049 1.244 12.146 1.146C12.246 1.047 12.364 0.997 12.5 0.997C12.636 0.997 12.754 1.047 12.854 1.146L14.854 3.146C14.953 3.246 15.003 3.364 15.003 3.5C15.003 3.636 14.953 3.754 14.854 3.854L12.854 5.854ZM2.439 8.561C2.586 8.707 2.755 8.818 2.948 8.895C3.125 8.965 3.309 9 3.5 9C3.691 9 3.875 8.965 4.052 8.895C4.245 8.818 4.414 8.707 4.561 8.561C4.707 8.414 4.818 8.245 4.895 8.052C4.965 7.875 5 7.691 5 7.5C5 7.309 4.965 7.125 4.895 6.948C4.818 6.755 4.707 6.586 4.561 6.439C4.414 6.293 4.245 6.182 4.052 6.105C3.875 6.035 3.691 6 3.5 6C3.309 6 3.125 6.035 2.948 6.105C2.755 6.182 2.586 6.293 2.439 6.439C2.293 6.586 2.182 6.755 2.105 6.948C2.035 7.125 2 7.309 2 7.5C2 7.691 2.035 7.875 2.105 8.052C2.182 8.245 2.293 8.414 2.439 8.561Z" />
    </svg>
  );
}
Vue
Vue: see /icons/git-worktree.md
Svelte
Svelte: see /icons/git-worktree.md
HTML img
HTML img: see /icons/git-worktree.md
CSS
CSS: see /icons/git-worktree.md
Data URL
Data URL: see /icons/git-worktree.md
Sprite
Sprite: see /icons/git-worktree.md
SwiftUI
SwiftUI: see /icons/git-worktree.md
Compose
Compose: see /icons/git-worktree.md
Android XML
Android XML: see /icons/git-worktree.md
Flutter
Flutter: see /icons/git-worktree.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

Meaning

Use it for
git worktree, worktree
Tags
git, worktree, working tree, checkout, branch, version control
Category
Development
Component name
GitWorktreeIcon
History
  • 20 px drawn, 24 px drawn, added

More development icons

For agents

Metadata: /icons/git-worktree.json · Markdown: /icons/git-worktree.md · SVG: https://gentleface.com/svg/{style}/16/git-worktree.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/git-worktree.png