cmd: bcp
[contents]

Contents

Syntax

The syntax for the bcp command is:

nift bcp "commit message"
nsm bcp "commit message"

Description

The bcp command is for building, committing and pushing changes to a project, ie. deploying it to somewhere like BitBucket, GitHub or GitLab. bcp will:

  • run an incremental build using the -b (basic) option;
  • commit any changes to the local project repository using the given commit message;
  • push the committed changes to the remote repository.

Note: While Nift uses Git to push changes, often website repositories have multiple branches in them and Nift will push changes from all branches with the one command, rather than having to manually push changes from both the project root directory and the output/site/build directory.

Sponsors