Proyectos
Ver en GitHub
L33T-KR3W/push-dir
Acerca de
👉📁 Push the contents of a directory to a remote branch
Otros proyectosCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Originalpush-dir
Push the contents of a directory to a remote branch
- No messing around with
.gitignore(no need to commit the directory) - Perfect for pushing a
dist/builddirectory togh-pages
install
npm install push-dir
example
push-dir --dir=build --branch=gh-pages
usage
Usage: push-dir {OPTIONS}
Required Options:
--dir
The name of the directory whose contents will be committed to branch
--branch
The name of the remote branch to push to
Advanced Options:
--remote
The name of the remote to push to (defaults to origin)
--cleanup
Whether to delete the local branch after creating
--local-branch-name
Force the name of the local branch that is pushed to the remote branch
--allow-unclean
Whether to attempt push even if git unclean
--overwrite-local
Whether to override a local branch of the same name, if exists
--force
Alias for both --allow-unclean and --overwrite-local
--verbose
Display stdout and stderr from internal commands
Explorar proyectos relacionados
Cargando…