https://github.com/avine/git-change-author
Change git author for all commits
https://github.com/avine/git-change-author
git shell
Last synced: about 2 months ago
JSON representation
Change git author for all commits
- Host: GitHub
- URL: https://github.com/avine/git-change-author
- Owner: avine
- Created: 2017-06-13T14:26:58.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-13T14:46:52.000Z (about 9 years ago)
- Last Synced: 2025-05-14T18:53:48.941Z (about 1 year ago)
- Topics: git, shell
- Language: Shell
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: change.sh
Awesome Lists containing this project
README
# git-change-author
Change git author for all commits
## Installation
Change the mode of the following files.
```shell
chmod +x auth.sh
chmod +x change.sh
chmod +x push.sh
```
Open `auth.sh` and `change.sh` and change the **name** and **email** according to your needs.
### Usage
Move the folder `git-change-author` in the same parent folder of your project.
Open your project folder in a terminal (where your `.git` folder is located).
Execute the following commands.
```shell
../git-change-author/auth.sh # Set the git author of the current workspace
../git-change-author/change.sh # Change the git author of the entire history
../git-change-author/push.sh # Push the new git history
```
### Warning
Use this scripts only if you are the only contributor of your project.