Skip to content

git-commit

1000%

Usage

You can use the View Component, Jekyll helper, or React package to include Octicons on your site. Below are code examples for each:

Octicon View Component

<%= render(Primer::OcticonComponent.new(:"git-commit")) %>

Jekyll

{% octicon git-commit height:24 %}

React

<GitCommitIcon size={24} />

UI examples