Git ã§ä¼ç¤¾ã®ãªãã¸ããªã¨ãã¯èªåã§å¥ã®ã¡ã¢ãã使ãããã«ãã
ä»äºã§Git使ãã¨ãã¨ãæ®æ®µã¨ã¯éãä¼ç¤¾ã®ã¡ã¢ãã§ã³ãããã¨ãããããã ãã©ãcloneãããã³ã« git config user.email
ã¨ãããã®ã¡ã³ãã¤ããã
ã¨ãããããã ãã¶æåãªè¨å®ã ã¨æããã ãã©ãã¾ã«ç¥ããªã人ããã®ã§æ¸ãã¦ãã㨠includeif
使ãã¨ç¹å®ã®ãã£ã¬ã¯ããªä»¥ä¸ã®ã¨ãã«èªã¿è¾¼ãè¨å®ãå¤æ´ã§ããã®ã§ä¾¿å©ã§ãã
ã§ãããã¾ã§ã¯æ®éã«Gitã®ããã¥ã¢ã«ã«ãæ¸ãã¦ãããã ãã© ghq ã¨çµã¿åãããã¨æé«ä¾¿å©ã«ãªãã®ã§ãã®ã¸ãã®è¨å®ãæ¸ãã¦ããã¾ãã ã¨ãã£ã¦ãæ®éã«è¨å®ããã ãã ãã©
.gitconfig
ã«ã¯ä¸è¨ã®ããã«æ¸ãã¦ããã¦
[ghq] root = ~/src [includeIf "gitdir:~/src/github.com/launchableinc/"] path = ~/.config/git/launchable.inc
~/.config/git/launchable.inc
ã«ã¯
[user] email = [email protected] signingkey = 8B44C987D44775F6
ãªæãã§æ¸ãã¦ãã㨠launchableinc ã®ãã£ã¬ã¯ããªä»¥ä¸ã§ã¯ä¼ç¤¾ã®ã¡ã¢ãã¨GPG使ããã¦ä¾¿å©ï¼ï¼ã¤ã¾ã ghq 使ã£ã¦ãã° github.com/launchableinc 以ä¸ã®ãªãã¸ããªã¯ä¼ç¤¾ã®è¨å®ã«ãªã£ã¦æé«ä¾¿å©ï¼ã£ã¦ãªãæãã§ãã