https://github.com/itsrainingmani/switch-author
Change author information for a series of commits in a repo
https://github.com/itsrainingmani/switch-author
author git npm-package
Last synced: about 1 month ago
JSON representation
Change author information for a series of commits in a repo
- Host: GitHub
- URL: https://github.com/itsrainingmani/switch-author
- Owner: itsrainingmani
- License: mit
- Created: 2019-09-05T14:15:12.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T18:44:19.000Z (over 3 years ago)
- Last Synced: 2025-03-01T06:44:26.183Z (over 1 year ago)
- Topics: author, git, npm-package
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/switch-author
- Size: 131 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# switch-author
switch-author automates the process of changing the author information for a series of commits in a repository.
## Installation
```shell
npm install -g switch-author
```
Optionally you can also use switch-author without installing it globally by using npx
```shell
npx switch-author
```
## Usage
### Basics
To use the switch-author command, the _--name_ and _--email_ arguments are necessary.
```shell
switch-author --name "Firstname Lastname" --email email@address.com
```
### Optional
You can also specify the number of commits from HEAD you want to change author information for by using the _--commits_ argument.
```shell
switch-author --name "Firstname Lastname" --email email@address.com --commits 10
```
This will affect the 10 most recent commits
### Help
See all available options for switch-author
```shell
switch-author --help
```