Skip to content

faruryo/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Required

  • MacOSX

  • Bash v5

    brew install bash

gpg key作成

新しい GPG キーを生成する - GitHub Docs

GPG コミット署名のトラブルシューティング

コミット時に gpg: signing failed: No such file or directory エラーが発生する場合、GUI(VS Code 等)からのパスフレーズ入力用プログラムの設定が必要です。

# gpg-agent.conf の作成と設定
touch ~/.gnupg/gpg-agent.conf
echo "pinentry-program $(which pinentry-mac)" >> ~/.gnupg/gpg-agent.conf

# gpg-agent を再起動して設定を反映
gpgconf --kill gpg-agent

Install & Update

  1. 個人情報を設定する

    設定しない場合はGitの設定がなされません。

    export GIT_NAME=<GitHubアカウント名>
    export GIT_EMAIL=<GitHub登録メールアドレス>
    export GIT_SIGNINGKEY=<GitHubに登録したGPGキー>
  2. install実行

    curl https://raw.githubusercontent.com/faruryo/dotfiles/main/install.sh | $(brew --prefix)/bin/bash
  3. gh setup

    gh auth login

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages