Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

push-dir

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

push-dir

Push a directory to a remote branch

  • 0.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.1K
decreased by-26.6%
Maintainers
2
Weekly downloads
 
Created
Source

push-dir

Build status

Push a directory to a remote branch

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:

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

FAQs

Package last updated on 01 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc