- For some reason on my own account git keeps functioning even if
I remove its configuration, but on a newly created account git commit
bails out with "Please tell me who you are" unless we set the
(per-repo) configuration here.
(cherry picked from commit
321a87d789bb090c88c541f7f158ae922ddee3ff)
# Git
%__scm_setup_git(q)\
%{__git} init %{-q}\
+%{__git} config user.name "%{__scm_username}"\
+%{__git} config user.email "%{__scm_usermail}"\
%{__git} add .\
%{__git} commit %{-q} -a\\\
--author "%{__scm_author}" -m "%{name}-%{version} base"