Skip to content

Commit

Permalink
Small fix on identifying the user
Browse files Browse the repository at this point in the history
  • Loading branch information
talitaBehrens committed Oct 9, 2009
1 parent 39ea916 commit 45af73a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions push
Expand Up @@ -5,12 +5,13 @@ cd `dirname $0`
BRANCH=`git branch | grep ^* |sed s/\*\ //`
echo "\n\n\nDifferences on branch $BRANCH:"
git diff --name-status origin/$BRANCH
git config --unset-all user.email user.name
git config --unset-all user.email
git config --unset-all user.name
echo "So that we know who (really) pushed this, please type your email address now. Ctrl-C to cancel."
read EMAIL
echo "And your name. Ctrl-C to cancel."
read USERNAME
git config user.email $EMAIL
git config user.name $USERNAME
git config user.name "$USERNAME"
echo "Pushing as $USERNAME at $EMAIL"
git push github-push

0 comments on commit 45af73a

Please sign in to comment.