Repo init user and email

1,310 views
Skip to first unread message

Colin Godsey

unread,
Jun 18, 2009, 4:15:15 PM6/18/09
to Repo and Gerrit Discussion
I'm trying to semi-automate the process of using repo. When I call
repo init from this script, it works fine, but it doesnt ask for name
and email. Where is this info stored, and is there a way to set this
over command line?

Shawn Pearce

unread,
Jun 18, 2009, 5:19:03 PM6/18/09
to repo-d...@googlegroups.com

git config --global user.name "A U Thor"
git config --global user.email y...@example.com

writes to ~/.gitconfig

Reply all
Reply to author
Forward
0 new messages