1. Michael Droettboom
  2. vcprompt


Greg Ward  committed 896f0be

setup-git: better way to set author (and committer too).

  • Participants
  • Parent commits f7d97eb
  • Branches default

Comments (0)

Files changed (1)

File tests/setup-git

View file
  • Ignore whitespace
 git init git-repo
 cd git-repo
+git config user.name "test"
+git config user.email "test"
 # two files tracked by git
 echo a > a
 echo b > b
 git add -A
-git commit --author="test <test>" -m"add a, b"
+git commit -m"add a, b"
 # uncommitted change to b
 echo foo >> b