changeset 3657:556aff821a2a

Refer to hg/git initial configuration
author HIROSE Yuuji <yuuji@yatex.org>
date Mon, 21 May 2018 10:37:40 +0900
parents 954c2a13cbef
children 24d65be4715b
files README.md
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/README.md	Mon May 21 10:32:51 2018 +0900
+++ b/README.md	Mon May 21 10:37:40 2018 +0900
@@ -8,6 +8,8 @@
     % sudo apt install -y mercurial mercurial-git
     % vi ~/.hgrc
     して以下の2行を足す。
+    [ui]
+    username = 自分の名前ローマ字 <自分のメイルアドレス>
     [extensions]
     hggit =
 ~~~
@@ -29,6 +31,8 @@
 ~~~
 3. Gitの環境設定する。
 ~~~
+    git config --global user.email "自分のメイルアドレス"
+    git config --global user.name "自分の名前ローマ字"
     git config --global push.default simple
 ~~~
 
@@ -61,4 +65,3 @@
     % hg pull --rebase -uv
     (Git)
     % git pull
-

yatex.org