diff options
Diffstat (limited to 'content/blog/2021-05-30-changing-git-authors.org')
| -rw-r--r-- | content/blog/2021-05-30-changing-git-authors.org | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/content/blog/2021-05-30-changing-git-authors.org b/content/blog/2021-05-30-changing-git-authors.org index c5d7441..86dd84c 100644 --- a/content/blog/2021-05-30-changing-git-authors.org +++ b/content/blog/2021-05-30-changing-git-authors.org @@ -5,12 +5,12 @@ * Changing Git Author/Email Based on Previously Committed Email -Here's the dilemma: You've been committing changes to your git -repository with an incorrect name or email (or multiple repositories), -and now you want to fix it. Luckily, there's a semi-reliable way to fix -that. While I have never experienced issues with this method, some -people have warned that it can mess with historical hashes and integrity -of commits, so use this method only if you're okay accepting that risk. +Here's the dilemma: You've been committing changes to your Git repository with +an incorrect name or email (or multiple repositories), and now you want to fix +it. Luckily, there's a semi-reliable way to fix that. While I have never +experienced issues with this method, some people have warned that it can mess +with historical hashes and integrity of commits, so use this method only if +you're okay accepting that risk. Okay, let's create the bash script: @@ -18,8 +18,8 @@ Okay, let's create the bash script: nano change_git_authors.sh #+end_src -The following information can be pasted directly into your bash script. -The only changes you need to make are to the following variables: +The following information can be pasted directly into your bash script. The only +changes you need to make are to the following variables: - =OLD_EMAIL= - =CORRECT_NAME= |
