# switch-author

> Change author information for a series of commits in a repo

Latest version **1.0.1** (published 2019-09-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install switch-author
pnpm add switch-author
yarn add switch-author
bun add switch-author
```

Provides the command `switch-author`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2019-09-06 |
| First published | 2019-09-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.0.0 |
| Dependencies | 3 |
| Unpacked size | 6.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Manikandan Sundararajan |
| Maintainers | itsrainingmani |
| Keywords | switch, author, git |

## Links

- npm: https://www.npmjs.com/package/switch-author
- Repository: https://github.com/itsrainingmani/switch-author
- Homepage: https://github.com/itsrainingmani/switch-author#readme
- Issues: https://github.com/itsrainingmani/switch-author/issues
- npm.io page: https://npm.io/package/switch-author

## Dependencies (3)

- [mri](https://npm.io/package/mri.md) ^1.1.4
- [chalk](https://npm.io/package/chalk.md) ^2.4.2
- [execa](https://npm.io/package/execa.md) ^2.0.4

## Alternatives

- [@clerk/clerk-expo](https://npm.io/package/@clerk/clerk-expo.md) — 133.6K weekly downloads
- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads
- [@nocobase/plugin-verification](https://npm.io/package/@nocobase/plugin-verification.md) — 2.0K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2019-09-06
- 1.0.0 — 2019-09-06

## 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
```

---
_Source: https://npm.io/package/switch-author · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
