DIY Portfolio
How I made this thing:
- This amaze youtube
- Iterate
- Mess up
- Iterate more
- Draw the rest of the owl
Resources:
Troubleshooting the git issues I always seem to have:
Note: Does anyone know how to avoid pushing from git with the .local email address? I have to do this every time and I am sure it’s a simple step that I’m just… totally missing. HALP PLZ.
Setting Commit Email Address
Globally
$ git config --global user.email "email@example.com"
Per Project
$ cd YOUR-PROJECT-DIRECTORY
$ git config user.email "email@example.com"
Changing Author
(script to run)
#!/bin/sh
git filter-branch --env-filter '
OLD_EMAIL="oldemail@Your-MacBook-Pro.local"
CORRECT_NAME="yourname"
CORRECT_EMAIL="newemail@gmail.com"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then
export GIT_COMMITTER_NAME="$CORRECT_NAME"
export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL"
fi
if [ "$GIT_AUTHOR_EMAIL" = "$OLD_EMAIL" ]
then
export GIT_AUTHOR_NAME="$CORRECT_NAME"
export GIT_AUTHOR_EMAIL="$CORRECT_EMAIL"
fi
' --tag-name-filter cat -- --branches --tags