git config
2008-11-20


git を使い始める前に、git config で初期設定を行う。

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

これで、.gitconfig ファイルが以下のように作成される。


% cat ~/.gitconfig 
[user]
        email = you@example.com
        name = Your Name

この後に、最初の git init でレポジトリを作成する。

[git]

コメント(全0件)
コメントをする


記事を書く
powered by ASAHIネット