git commit icon
git-commit from Codicons by Microsoft Corporation · Regular · CC-BY-4.0 Attribution required.
- Name
- git-commit
- Set
- Codicons
- Style
- Regular
- Viewbox
- 16×16
- License
- CC BY 4.0
The same icon in other sets
git-commitBoxIcons v2git-commitFeather Iconsgit-commitcss.gggit-commitHuge Iconsgit-commitIconoirgit-commitIonIconsgit-commitMajesticonsgit-commit-fillMingCute Icongit-commitMyna UI Iconsgit-commitOcticonsgit-commitPhosphorgit-commitPixelarticonsgit-commit-fillRemix Icongit-commit-boldSolargit-commitTabler Iconsgit-commitTDesign Iconsgit-commit-outlineTeenyicons
Related icons in Codicons
git-branchgit-branch-changesgit-branch-compactgit-branch-conflictsgit-branch-staged-changesgit-comparegit-fetchgit-lensgit-mergegit-pull-requestgit-pull-request-closedgit-pull-request-commentgit-pull-request-creategit-pull-request-donegit-pull-request-draftgit-pull-request-errorgit-pull-request-go-to-changesgit-pull-request-new-changesgit-stashgit-stash-applygit-stash-pop
Use the git commit icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M11.5 8a3.505 3.505 0 0 0-3-3.464V1.5a.5.5 0 0 0-1 0v3.036A3.505 3.505 0 0 0 4.5 8a3.505 3.505 0 0 0 3 3.464V14.5a.5.5 0 0 0 1 0v-3.036A3.505 3.505 0 0 0 11.5 8M8 10.5A2.503 2.503 0 0 1 5.5 8c0-1.378 1.121-2.5 2.5-2.5s2.5 1.122 2.5 2.5s-1.121 2.5-2.5 2.5"/></svg>
React
import type { SVGProps } from "react";
export function CodiconGitCommit(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M11.5 8a3.505 3.505 0 0 0-3-3.464V1.5a.5.5 0 0 0-1 0v3.036A3.505 3.505 0 0 0 4.5 8a3.505 3.505 0 0 0 3 3.464V14.5a.5.5 0 0 0 1 0v-3.036A3.505 3.505 0 0 0 11.5 8M8 10.5A2.503 2.503 0 0 1 5.5 8c0-1.378 1.121-2.5 2.5-2.5s2.5 1.122 2.5 2.5s-1.121 2.5-2.5 2.5"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M11.5 8a3.505 3.505 0 0 0-3-3.464V1.5a.5.5 0 0 0-1 0v3.036A3.505 3.505 0 0 0 4.5 8a3.505 3.505 0 0 0 3 3.464V14.5a.5.5 0 0 0 1 0v-3.036A3.505 3.505 0 0 0 11.5 8M8 10.5A2.503 2.503 0 0 1 5.5 8c0-1.378 1.121-2.5 2.5-2.5s2.5 1.122 2.5 2.5s-1.121 2.5-2.5 2.5"/></svg> </template>
CSS
.icon-git-commit {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M11.5%208a3.505%203.505%200%200%200-3-3.464V1.5a.5.5%200%200%200-1%200v3.036A3.505%203.505%200%200%200%204.5%208a3.505%203.505%200%200%200%203%203.464V14.5a.5.5%200%200%200%201%200v-3.036A3.505%203.505%200%200%200%2011.5%208M8%2010.5A2.503%202.503%200%200%201%205.5%208c0-1.378%201.121-2.5%202.5-2.5s2.5%201.122%202.5%202.5s-1.121%202.5-2.5%202.5%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M11.5%208a3.505%203.505%200%200%200-3-3.464V1.5a.5.5%200%200%200-1%200v3.036A3.505%203.505%200%200%200%204.5%208a3.505%203.505%200%200%200%203%203.464V14.5a.5.5%200%200%200%201%200v-3.036A3.505%203.505%200%200%200%2011.5%208M8%2010.5A2.503%202.503%200%200%201%205.5%208c0-1.378%201.121-2.5%202.5-2.5s2.5%201.122%202.5%202.5s-1.121%202.5-2.5%202.5%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/codicon/git-commit.svg?color=%231a73e8&size=48