gentleface

Gentleface › Development › git-commit

git-commit icon

Git commit: git commit, commit, commit changes. 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="M7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 4.035C8.269 4.074 8.532 4.144 8.788 4.246C9.238 4.424 9.633 4.683 9.975 5.025C10.317 5.367 10.576 5.762 10.754 6.212C10.918 6.625 11 7.055 11 7.5C11 7.945 10.918 8.375 10.754 8.788C10.576 9.238 10.317 9.633 9.975 9.975C9.633 10.317 9.238 10.576 8.788 10.754C8.532 10.856 8.269 10.926 8 10.965L8 13.5C8 13.641 7.952 13.759 7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 10.965C6.731 10.926 6.468 10.856 6.212 10.754C5.762 10.576 5.367 10.317 5.025 9.975C4.683 9.633 4.424 9.238 4.246 8.788C4.082 8.375 4 7.945 4 7.5C4 7.055 4.082 6.625 4.246 6.212C4.424 5.762 4.683 5.367 5.025 5.025C5.367 4.683 5.762 4.424 6.212 4.246C6.468 4.144 6.731 4.074 7 4.035L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM5.732 9.268C5.976 9.512 6.259 9.697 6.58 9.824C6.875 9.941 7.182 10 7.5 10C7.818 10 8.125 9.941 8.42 9.824C8.741 9.697 9.024 9.512 9.268 9.268C9.512 9.024 9.697 8.741 9.824 8.42C9.941 8.125 10 7.818 10 7.5C10 7.182 9.941 6.875 9.824 6.58C9.697 6.259 9.512 5.976 9.268 5.732C9.024 5.488 8.741 5.303 8.42 5.176C8.125 5.059 7.818 5 7.5 5C7.182 5 6.875 5.059 6.58 5.176C6.259 5.303 5.976 5.488 5.732 5.732C5.488 5.976 5.303 6.259 5.176 6.58C5.059 6.875 5 7.182 5 7.5C5 7.818 5.059 8.125 5.176 8.42C5.303 8.741 5.488 9.024 5.732 9.268Z"/></svg>
React
// Gentleface "git-commit" (line-round), MIT. https://gentleface.com/icons/git-commit
import type { SVGProps } from 'react';

export function GitCommitIcon(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="M7.144 1.144C7.241 1.048 7.359 1 7.5 1C7.641 1 7.759 1.048 7.856 1.144C7.952 1.241 8 1.359 8 1.5L8 4.035C8.269 4.074 8.532 4.144 8.788 4.246C9.238 4.424 9.633 4.683 9.975 5.025C10.317 5.367 10.576 5.762 10.754 6.212C10.918 6.625 11 7.055 11 7.5C11 7.945 10.918 8.375 10.754 8.788C10.576 9.238 10.317 9.633 9.975 9.975C9.633 10.317 9.238 10.576 8.788 10.754C8.532 10.856 8.269 10.926 8 10.965L8 13.5C8 13.641 7.952 13.759 7.856 13.856C7.759 13.952 7.641 14 7.5 14C7.359 14 7.241 13.952 7.144 13.856C7.048 13.759 7 13.641 7 13.5L7 10.965C6.731 10.926 6.468 10.856 6.212 10.754C5.762 10.576 5.367 10.317 5.025 9.975C4.683 9.633 4.424 9.238 4.246 8.788C4.082 8.375 4 7.945 4 7.5C4 7.055 4.082 6.625 4.246 6.212C4.424 5.762 4.683 5.367 5.025 5.025C5.367 4.683 5.762 4.424 6.212 4.246C6.468 4.144 6.731 4.074 7 4.035L7 1.5C7 1.359 7.048 1.241 7.144 1.144ZM5.732 9.268C5.976 9.512 6.259 9.697 6.58 9.824C6.875 9.941 7.182 10 7.5 10C7.818 10 8.125 9.941 8.42 9.824C8.741 9.697 9.024 9.512 9.268 9.268C9.512 9.024 9.697 8.741 9.824 8.42C9.941 8.125 10 7.818 10 7.5C10 7.182 9.941 6.875 9.824 6.58C9.697 6.259 9.512 5.976 9.268 5.732C9.024 5.488 8.741 5.303 8.42 5.176C8.125 5.059 7.818 5 7.5 5C7.182 5 6.875 5.059 6.58 5.176C6.259 5.303 5.976 5.488 5.732 5.732C5.488 5.976 5.303 6.259 5.176 6.58C5.059 6.875 5 7.182 5 7.5C5 7.818 5.059 8.125 5.176 8.42C5.303 8.741 5.488 9.024 5.732 9.268Z" />
    </svg>
  );
}
Vue
Vue: see /icons/git-commit.md
Svelte
Svelte: see /icons/git-commit.md
HTML img
HTML img: see /icons/git-commit.md
CSS
CSS: see /icons/git-commit.md
Data URL
Data URL: see /icons/git-commit.md
Sprite
Sprite: see /icons/git-commit.md
SwiftUI
SwiftUI: see /icons/git-commit.md
Compose
Compose: see /icons/git-commit.md
Android XML
Android XML: see /icons/git-commit.md
Flutter
Flutter: see /icons/git-commit.md

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. 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 commit, commit, commit changes
Alternatives
  • git-graph: the commit history as a graph (commit-graph)
Tags
git, commit, node, version-control, vcs, history, developer
Category
Development
Component name
GitCommitIcon
History
  • added

Family 17

More development icons

For agents

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

Feedback