set up a git repo add set account's default identity

Bug #1596727 reported by caowei on 2016-06-27
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

root@ubuntu14044:/etc/puppet# git init
Initialized empty Git repository in /etc/puppet/.git/
root@ubuntu14044:/etc/puppet# echo "modules/" >> .gitignore
root@ubuntu14044:/etc/puppet# git add .
root@ubuntu14044:/etc/puppet# git commit -m "initial files"

*** Please tell me who you are.


  git config --global "<email address hidden>"
  git config --global "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'root@ubuntu14044.(none)')

caowei (caowei-e) wrote :

set account's default identity:

root@ubuntu14044:/etc/puppet# git config --global ""
root@ubuntu14044:/etc/puppet# git config --global "caowei"
root@ubuntu14044:/etc/puppet# git commit -m "initial files"
[master (root-commit) 18d28a3] initial files
 4 files changed, 36 insertions(+)
 create mode 100644 .gitignore
 create mode 100755 etckeeper-commit-post
 create mode 100755 etckeeper-commit-pre
 create mode 100644 puppet.conf

Changed in puppet-openstack-integration:
assignee: nobody → caowei (caowei-e)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers