# git-create-deploy-branch

> Creates and maintains a derivative branch of the current branch containing normally gitignored files for deployment.

Latest version **2.0.4** (published 2026-08-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install git-create-deploy-branch
pnpm add git-create-deploy-branch
yarn add git-create-deploy-branch
bun add git-create-deploy-branch
```

Provides the command `git-create-deploy-branch`.

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score.

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

## Facts

| | |
|---|---|
| Version | 2.0.4 |
| Published | 2026-08-03 |
| First published | 2015-08-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 36.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Aria Stewart |
| Maintainers | aredridel |
| Keywords | git, shell, deploy |

## Links

- npm: https://www.npmjs.com/package/git-create-deploy-branch
- Repository: https://github.com/aredridel/git-create-deploy-branch
- Homepage: https://github.com/aredridel/git-create-deploy-branch#readme
- Issues: https://github.com/aredridel/git-create-deploy-branch/issues
- npm.io page: https://npm.io/package/git-create-deploy-branch

## Recent versions

- 2.0.4 (latest) — 2026-08-03
- 2.0.3 — 2026-07-27
- 2.0.2 — 2026-07-27
- 2.0.1 — 2026-07-27
- 2.0.0 — 2026-07-26
- 1.3.2 — 2026-07-26
- 1.3.1 — 2026-07-26
- 1.3.0 — 2026-07-26
- 1.2.0 — 2026-07-22
- 1.1.0 — 2017-12-03
- 1.0.1 — 2015-08-09

## README

git-create-deploy-branch
========================

Creates and maintains a derivative branch of the current branch containing
normally gitignored files for deployment.

Any files specified on the command line will be added to the deploy branch, or
if unspecified, anything listed in the `.gitdeploy` file in the root of the
repository. If that does not exist, it will add everything in the repository.

This tool completely ignores `.gitignore` files.

Use
-----

```shell
git checkout master
git create-deploy-branch
git show deploy/master # Just to see
git push deployhost deploy/master
```

or

```shell
git checkout master
git create-deploy-branch public
git show deploy/master # Just to see
git push deployhost deploy/master
```

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