GitをWindowsクライアントで利用できるようにGitBushをダウンロードして、インストールする

Git for Windowsのダウンロード

 

初期設定

ユーザ登録

--ユーザの登録
# git config --global user.name "github user name"

--登録したユーザ名の確認
# git config user.name

「github user name」はgithubで登録したユーザ名を登録する

 

メールアドレスの登録

--メールアドレスの登録
# git config --global user.email "github@example.com"

--登録したメールアドレスの確認
# git config user.email

「github@example.com」はgithubで登録したメールアドレスを登録する

 

テキストエディタの登録

--テキストエディタの登録
# git config --global core.editor "atom --wait"

--登録したエディタの確認
# git config core.editor

 

gitの設定の確認

--Git設定の確認
# git config --list

--Git設定ファイルの確認
# cat ~/.gitconfig

C:\Users\ユーザ名\.gitconfig

 

 

記事タイトル検索