Created
March 20, 2012 04:13
-
-
Save sowawa/2131253 to your computer and use it in GitHub Desktop.
Override .gitconfig variables
This file contains hidden or 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 [email protected] | |
export GIT_AUTHOR_NAME=sowasowa | |
cd /tmp | |
mkdir hoge | |
cd hoge | |
git init | |
touch README | |
git add . | |
git commit -m 'hogehoge' | |
# Author: sowasowa <[email protected]> | |
# 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