399 B
399 B
title, tags, requires
| title | tags | requires | |||
|---|---|---|---|---|---|
| Commit for Another |
|
|
You can make Alice the author, while you are still the commiter:
name="Alice Bobinson"
email="alice@email.com"
git add ${file}
git commit --author="${name} <${email}>"
Or, make Alice both the committer and the author:
git -c user.name="${name}" -c user.email="${email}" commit -m "${message}"