Confirmar sem definir user.email e user.name
Eu tento me comprometer assim
git commit --author='Paul Draper <[email protected]>' -m 'My commit message'
mas eu entendo
*** Please tell me who you are.
Run
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
Posso defini-los, mas estou em uma caixa compartilhada e precisaria (deseja) desmarcá-los posteriormente.
git config user.name 'Paul Draper'
git config user.email '[email protected]'
git commit -m 'My commit message'
git config --unset user.name
git config --unset user.email
São muitas linhas para um commit!
Existe maneira mais curta?