Git Commit icon
gg:git-commit
The Git Commit icon (gg:git-commit) is a free SVG icon from the css.gg set by Astrit. It is drawn on a 24 × 24 grid. css.gg icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M11 4a1 1 0 1 1 2 0v5.17a3.001 3.001 0 0 1 0 5.66V20a1 1 0 1 1-2 0v-5.17a3.001 3.001 0 0 1 0-5.66zm1 9a1 1 0 1 0 0-2a1 1 0 0 0 0 2" clip-rule="evenodd"/></svg>How to use the Git Commit icon
React
import { Icon } from "@iconify/react";
<Icon icon="gg:git-commit" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="gg:git-commit" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="gg:git-commit" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[gg--git-commit]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/gg -->
<div class="i-gg:git-commit"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="gg:git-commit"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/gg/git-commit.svg" alt="Git Commit icon" width="24" height="24">Related icons in css.gg
Git Commit icon in other icon sets
Git Commit icon FAQ
Is the Git Commit icon free for commercial use?
Yes. css.gg icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Git Commit icon in React?
Install @iconify/react and render <Icon icon="gg:git-commit" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Git Commit icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/gg/git-commit.svg" alt="Git Commit icon">, or paste the SVG code inline to style it with CSS.