https://github.com/vyavdoshenko/git_tools
Tools for update user and email info for existing commits.
https://github.com/vyavdoshenko/git_tools
git
Last synced: 2 months ago
JSON representation
Tools for update user and email info for existing commits.
- Host: GitHub
- URL: https://github.com/vyavdoshenko/git_tools
- Owner: vyavdoshenko
- License: mit
- Created: 2019-12-06T18:17:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-02-17T19:22:00.000Z (over 5 years ago)
- Last Synced: 2025-06-22T00:37:17.956Z (about 1 year ago)
- Topics: git
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tools for update user and email info for existing commits.
# Pre Requirements:
- git installed
- bash as shell
# Usage:
```
$ cd ~
$ git clone https://github.com/ElasticTunnel/git_tools.git
$ cd ~/your_git_repo/
$ ~/git_tools/scripts/get_authors.sh
```
Git Member <41993419+gituser@users.noreply.github.com>
Git Member
```
$ ~/git_tools/scripts/fix_git_email_and_name.sh 41993419+gituser@users.noreply.github.com "Git Member" git.member@company.com "Git Member"
```
Old name: Git Member
Old email: 41993419+gituser@users.noreply.github.com
Correct name: Git Member
Correct email: git.member@company.com
Rewrite c164bab6ab6945876ca5e6071405b192c738dd8f (3/5) (1 seconds passed, remaining 0 predicted)
Ref 'refs/heads/main' was rewritten
```
$ ~/git_tools/scripts/get_authors.sh
```
Git Member
```
$ ~/git_tools/scripts/force_push.sh
```