Gentleface › Development › git-commit
git-commit icon
git-commitGit commit: git commit, commit, commit changes. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated git-commit-seal · line-round
Two staged changes run down the line and wait inside the ring. The ring closes on them and packs them into one, then springs open and the commit leaves down the line and off the bottom edge.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.2 s to 2.05 s. Examples and helper.
Code line-round
<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>
// 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: see /icons/git-commit.md
Svelte: see /icons/git-commit.md
HTML img: see /icons/git-commit.md
CSS: see /icons/git-commit.md
Data URL: see /icons/git-commit.md
Sprite: see /icons/git-commit.md
SwiftUI: see /icons/git-commit.md
Compose: see /icons/git-commit.md
Android XML: see /icons/git-commit.md
Flutter: see /icons/git-commit.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.
With npm: import { GitCommitIcon } from '@gentleface/react'; (setup).
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
- released in 0.1.0
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
Family 24
More development icons
api api-gateway api-letters api-off api-sparkle binary binary-off braces braces-check braces-x brackets breakpoint breakpoint-conditional breakpoint-log bug bug-check · all 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