up, add new config files and delete old tar conf file
[arrow.git] / conf_slk120 / bin / .bin / shell / arrow-git-conf
blobff790813c4909c58b93a5e988786585d7fe758b5
1 #!/bin/sh
3 if [ ! -f .git/config ]; then
4 echo "conf file do not exists"
5 exit 1
6 fi
8 grep "arrow_zhang" .git/config > /dev/null
9 if [ "$?" != 0 ]; then
10 echo "[user]" >> .git/config
11 echo " name=arrow_zhang" >> .git/config
12 echo " email=arrow_zhang@sdc.sercomm.com" >> .git/config
13 echo "conf success -_-"
14 else
15 echo "have configured :_)"