Skip to content

This Bash Script reads the names of the repositories. Then it changes the author name, email for every commit in the repositories. WARNING This script uses 'git commit -f" USE IT ON YOUR OWN RISK

License

Notifications You must be signed in to change notification settings

konmaz/changeComitAuthorBash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Info

This Bash script helps you change your old commits author name and email in many repositories. This script uses the powerful command git push -f. You should be cautious when using the script. YOU HAVE BEEN WARNED.\

With great power comes great responsibility.

Installation

To execute.

$ git clone https://github.com/konmaz/changeComitAuthorBash.git
$ cd changeComitAuthorBash/
$ chmod +x script.sh

Usage

First in the config.txt edit:

OLD EMAIL
NEW NAME
NEW EMAIL

In the repos.txt put the desired repositories to change the author name and email:

konmaz/changeComitAuthorBash
...

Runing

$ ./script.sh

WARNING

These scripts come without warranty of any kind. Use them at your own risk. I assume no liability for the accuracy, correctness, completeness, or usefulness of any information provided by this repository nor for any sort of damages using these scripts may cause.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

This Bash Script reads the names of the repositories. Then it changes the author name, email for every commit in the repositories. WARNING This script uses 'git commit -f" USE IT ON YOUR OWN RISK

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages