Git - Making your life Easier with Git: Pro Tips - configuration
Head First Git: A Learner’s Guide to Understanding Git from the Inside Out、 Raju Gandhi(著)、 O’Reilly Mediaの Chapter 8.(Making your life Easier with Git: #Pro Tips)、EXERCISE(595/680)の解答を求めてみる。
入出力結果(Terminal, Zsh)
% cd
% ls -a
.
..
.DS_Store
...
.gitconfig
...
% ls -A
.DS_Store
...
.gitconfig
...
% git config core.editor
code -w
% git config --global core.editor
code -w
% cat .gitconfig
# This is Git's per-user configuration file.
[user]
name = kamimura
email = kamimura@live.jp
...
[core]
editor = code -w
[push]
default = simple
%