Skip to content

Instantly share code, notes, and snippets.

@taisyo7333
Created June 2, 2021 05:14
Show Gist options
  • Save taisyo7333/47eb7a6c7245cf1c4223b10127a137d9 to your computer and use it in GitHub Desktop.
Save taisyo7333/47eb7a6c7245cf1c4223b10127a137d9 to your computer and use it in GitHub Desktop.
git の commit hashの文字数を固定する

git の commit hashの文字数を固定する

COMMIT_HASH=$(git rev-parse --short=8 HEAD)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment