UNPKG

@minnam/git-copy

Version:

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

14 lines (11 loc) 576 B
# 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]