JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q42998F
  • License ISC

Copy the whole or a certain part of git repository to destination

Package Exports

  • @minnam/git-copy

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@minnam/git-copy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

git-copy

Copy git repository without initializing git

Why copy instead of clone?

Your reusuable code in previous projects needs more work before packaging or you just need to duplicate small modules

Usage

Caution: .git folder in the repository is removed before copying to your destination

Command Line

Copy repository to specified destination

npx @minnam/git-copy [URL_TO_GIT_REPO] [PATH_TO_DESTINATION]

Copy part of repository to specified destination

npx @minnam/git-copy [URL_TO_GIT_REPO] [PATH_TO_SRC] [PATH_TO_DESTINATION]