Created
March 20, 2012 04:13
-
-
Save sowawa/2131253 to your computer and use it in GitHub Desktop.
Override .gitconfig variables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export GIT_AUTHOR_EMAIL=hogehoge@example.com | |
export GIT_AUTHOR_NAME=sowasowa | |
cd /tmp | |
mkdir hoge | |
cd hoge | |
git init | |
touch README | |
git add . | |
git commit -m 'hogehoge' | |
# Author: sowasowa <hogehoge@example.com> | |
# 0 files changed, 0 insertions(+), 0 deletions(-) | |
# create mode 100644 README | |
cd ../ | |
rm -rf hoge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment