git commit icon

git-commit from BoxIcons v2 by Boxicons · Regular · MIT Free for personal and commercial use.

Name
git-commit
Set
BoxIcons v2
Style
Regular
Viewbox
24×24
License
MIT
Aliases
bx-git-commit

The same icon in other sets

Related icons in BoxIcons v2

Use the git commit icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M12 6c-2.967 0-5.431 2.167-5.909 5H2v2h4.092c.479 2.832 2.942 4.998 5.909 4.998s5.43-2.166 5.909-4.998H22v-2h-4.09c-.478-2.833-2.942-5-5.91-5m0 9.998c-2.205 0-3.999-1.794-3.999-3.999S9.795 8 12 8s4 1.794 4 3.999s-1.794 3.999-4 3.999"/></svg>

React

import type { SVGProps } from "react";

export function BxGitCommit(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M12 6c-2.967 0-5.431 2.167-5.909 5H2v2h4.092c.479 2.832 2.942 4.998 5.909 4.998s5.43-2.166 5.909-4.998H22v-2h-4.09c-.478-2.833-2.942-5-5.91-5m0 9.998c-2.205 0-3.999-1.794-3.999-3.999S9.795 8 12 8s4 1.794 4 3.999s-1.794 3.999-4 3.999"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M12 6c-2.967 0-5.431 2.167-5.909 5H2v2h4.092c.479 2.832 2.942 4.998 5.909 4.998s5.43-2.166 5.909-4.998H22v-2h-4.09c-.478-2.833-2.942-5-5.91-5m0 9.998c-2.205 0-3.999-1.794-3.999-3.999S9.795 8 12 8s4 1.794 4 3.999s-1.794 3.999-4 3.999"/></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%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M12%206c-2.967%200-5.431%202.167-5.909%205H2v2h4.092c.479%202.832%202.942%204.998%205.909%204.998s5.43-2.166%205.909-4.998H22v-2h-4.09c-.478-2.833-2.942-5-5.91-5m0%209.998c-2.205%200-3.999-1.794-3.999-3.999S9.795%208%2012%208s4%201.794%204%203.999s-1.794%203.999-4%203.999%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%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M12%206c-2.967%200-5.431%202.167-5.909%205H2v2h4.092c.479%202.832%202.942%204.998%205.909%204.998s5.43-2.166%205.909-4.998H22v-2h-4.09c-.478-2.833-2.942-5-5.91-5m0%209.998c-2.205%200-3.999-1.794-3.999-3.999S9.795%208%2012%208s4%201.794%204%203.999s-1.794%203.999-4%203.999%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/bx/git-commit.svg?color=%231a73e8&size=48