Skip to content

Effortlessly format and copy Git Logs with customizable options in IntelliJ Plugin

License

Notifications You must be signed in to change notification settings

naoyukik/intellij-plugin-copy-pretty-git-log

Repository files navigation

intellij-plugin-copy-pretty-git-log

Build Version Downloads

This plugin allows you to easily copy Git commit histories in a formatted text to your clipboard.

Installation

  1. Open IntelliJ IDEA.
  2. Open the 'File' menu, then select 'Settings'.
  3. From the left-side menu, select 'Plugins'.
  4. In the 'Marketplace' tab, search for 'Copy Pretty Git Log'.
  5. Click 'Install' to start the plugin installation.
  6. Once installation is complete, restart IDEA.

Usage

  1. Select commits in your VCS log.
  2. Right-click and select 'Copy Pretty Git Log'.
  3. The formatted log is copied to your clipboard.

Configuration

  • Custom Pattern: Allows you to define the format of your log strings. You can use placeholders such as {AUTHOR_NAME}, {COMMITER_NAME}, {COMMIT_TIME}, {FULL_MESSAGE}, and {SUBJECT}.
  • Reverse: Enabling this will output your log entries in reverse order.
  • Custom Time Format: Allows setting a custom date and time format. Default is yyyy-MM-dd HH:mm:ss.

概要

このプラグインは、Gitのコミット履歴を選択し、フォーマットしたテキストとしてクリップボードにコピーするのを簡単にします。

インストール

  1. IntelliJ IDEAを開きます。
  2. 「File」メニューを開き、その中から「Settings」を選択します。
  3. 左側のメニューから「Plugins」を選択します。
  4. 「Marketplace」タブを開き、「Copy Pretty Git Log」を検索します。
  5. 「Install」をクリックし、プラグインのインストールを開始します。
  6. インストールが完了したら、IDEAを再起動します。

使い方

  1. VCSログのコミットを選択します。
  2. 右クリックメニューから、「Copy Pretty Git Log」を選択します。
  3. フォーマットされたログがクリップボードにコピーされます。

設定

  • カスタムパターン: ログ文字列のフォーマットを定義できます。 {AUTHOR_NAME}{COMMITER_NAME}{COMMIT_TIME}{FULL_MESSAGE}、 および {SUBJECT} などのプレースホルダーを利用できます。
  • リバース: この設定を有効にすると、ログエントリは逆順で出力されます。
  • カスタム時間フォーマット: カスタム日時フォーマットを設定できます。デフォルトは yyyy-MM-dd HH:mm:ss です。

Plugin based on the IntelliJ Platform Plugin Template.

About

Effortlessly format and copy Git Logs with customizable options in IntelliJ Plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages