Closed2
Mac環境設定時のめも📝
初期設定 + アプリインストール
基本は以下の記事を参考にbrewでインストール
brew list
==> Casks
adobe-acrobat-reader applite coteditor figma google-japanese-ime postman tableplus
alt-tab arc deepl fuwari karabiner-elements raycast visual-studio-code
amazon-q chatgpt docker google-chrome notion rectangle warp
git設定
以下のドキュメントに沿って実施。
- ユーザー名、メールアドレス、エディタの設定
git config --global user.name "<ユーザー名>" git config --global user.email "<メールアドレス>" git config --global core.editor "code --wait"
- GitからGitHub認証
GitHub CLIを使ってやるbrew install gh
gh auth login ? What account do you want to log into? GitHub.com ? What is your preferred protocol for Git operations on this host? HTTPS ? Authenticate Git with your GitHub credentials? Yes ? How would you like to authenticate GitHub CLI? Login with a web browser ! First copy your one-time code: <認証コード> Press Enter to open github.com in your browser... ✓ Authentication complete. - gh config set -h github.com git_protocol https ✓ Configured git protocol ✓ Logged in as <ユーザー名>
- その他設定
global ignore 設定mkdir ~/.config/git touch ~/.config/git/ignore
~/.config/git/ignore.DS_Store
git ファイル名の大文字・小文字の変更を検知git config --global core.quotepath false
git config --global core.ignorecase false
参考
このスクラップは5ヶ月前にクローズされました