Skip to content

Instantly share code, notes, and snippets.

@marijus-ravickas
Last active March 24, 2020 11:13
Show Gist options
  • Save marijus-ravickas/f0da1883c97dcc3ed96e42c37eacd90b to your computer and use it in GitHub Desktop.
Save marijus-ravickas/f0da1883c97dcc3ed96e42c37eacd90b to your computer and use it in GitHub Desktop.

To update all commiters in whole repo use this document

#!/bin/sh

git filter-branch --env-filter '

CORRECT_NAME="vvv"
CORRECT_EMAIL="[email protected]"

export GIT_COMMITTER_NAME="$CORRECT_NAME"
export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL"
export GIT_AUTHOR_NAME="$CORRECT_NAME"
export GIT_AUTHOR_EMAIL="$CORRECT_EMAIL"
' --tag-name-filter cat -- --branches --tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment