Skip to content

Instantly share code, notes, and snippets.

@jsramraj
Last active March 7, 2022 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsramraj/1a911fd23bce7246176b751af6d011b1 to your computer and use it in GitHub Desktop.
Save jsramraj/1a911fd23bce7246176b751af6d011b1 to your computer and use it in GitHub Desktop.

Push subtree

git push origin git subtree split --prefix dist main:gh-pages --force

Change git author name and email

git filter-branch -f --env-filter " GIT_AUTHOR_NAME='jsramraj' GIT_AUTHOR_EMAIL='jsramraj@gmail.com' GIT_COMMITTER_NAME='Ramaraj T' GIT_COMMITTER_EMAIL='jsramraj@gmail.com' " HEAD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment