DEV Community

programmingMonky
programmingMonky

Posted on

4 1

WindowsにGitを導入する方法

Windows環境へのGitのインストールについて説明します。

筆者の環境は

  • Windows7 32bit です。

まず

https://git-scm.com/downloads

にアクセスし、

windows用のgitを選択します

windows

ダウンロードが始まるので、終わり次第インストーラをクリックします。

インストーラの初期画面でGPIの同意画面がでてきますので

GPL

よく読んでから「next」をクリック

ダウンロード直下のフォルダを選択します。

今回はC直下としました。

git

「Next」ボタンを押します。

ダウンロードするコンポーネントを選択します。

a

ひとまずデフォルトのもので進めます。「Nexボタンを押します。」

スタートメニューを作成するかどうかを聞いてきます。

スタートメニュー

筆者はとりあえずそのまま進めますが、不要な方は外してください。「nextボタンをクリック」

giteditorを選択する画面です。デフォルトでvimとなっていますが、

初心者はvimを使うのが難しいので、とりあえずnanoに変更しています。

※もちろんvimが好きな方はvimを選んでください。

vim

notepad++を持っている方はそちらを選択するのもいいかもしれません。

改行コードの扱いを選択します。

改行

とりあえずデフォルトのまま進めます。

TLSのライブラリを聞いてきます。

TLS

デフォルトのオープンSSLを選択して「Next」をクリックします

改行の変換を聞いてきます。

kaigyou

とりあえず、クロスプラットフォームでの開発は行わないので

Windows環境推奨の一番上を選択しましょう。

利用するコンソールを聞いてきます。

console

今回はcygwinなどは使わないのでwindowsのcmdを使います。

下のチェックボックスを選択して「Next」をクリック

configファイルの設定です

conf
デフォルトのまま「Install」を押します

しばらく待つと、Gitがインストールできました。

git

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

While many AI coding tools operate as simple command-response systems, Qodo Gen 1.0 represents the next generation: autonomous, multi-step problem-solving agents that work alongside you.

Read full post

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay