All Octicons

git-commit

Octicon sizes navigation

Usage

You can use this icon in React, Ruby, Jekyll, or Figma. Here are code examples for each:

React

import {GitCommitIcon} from '@primer/octicons-react'


<GitCommitIcon size={16} />

Rails

<%= render(Primer::Beta::Octicon.new(:"git-commit", size: :small)) %>

Jekyll

{% octicon git-commit height:16 %}

Figma

This icon is called git-commit in Primer's Octicons library.