0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

MacにGitをインストールする

Posted at

以下に、前提条件を含めたGitのインストール手順をまとめました。

前提条件

・macOS: Sonoma 14.5(実施環境)
・Gitのバージョン: 最新版をインストールすることを推奨します。
・Homebrew: インストール済み

1.Gitをインストールします。

brew install git

2. Gitのインストールを確認

インストールが完了したら、以下のコマンドでGitのバージョンを確認できます。

git --version

3. Gitの初期設定

初めてGitを使用する場合、以下のコマンドでユーザー名とメールアドレスを設定してください。

git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"

これでMacにGitがインストールされ、使用できる状態になりました!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?