JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q32790F
  • License MIT

A utility command to copy any folders or files of any public github/gitlab/bitbucket repo to selected path, without copying the whole repo

Package Exports

    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 (git-remote-copy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    [!IMPORTANT] This is highly experimantal, bugs are expected

    gitcopy

    🛠️ A utility command to copy any folders or files of any public github/gitlab/bitbucket repo to selected path, without copying the whole repo

    Road map

    Features

    • Add a command to copy files or folder from remote gh repo to local repo
    • Add a command to see history of copying files, by integrating with sqlite
    • Support for github
    • Support for gitlab
    • Support for bitbucket
    • Support for Linux/Unix/Macos
    • Support for Windows

    Installation

    You must have npm installed in order to install this script.

    Basic installation

    npm install -g git-remote-copy

    And use it like

    git-remote-copy https://github.com/kujo205/kujo205/blob/main/README.md .
    image

    or you can also add it as git alias, which looks cooler.

    Adding command as git alias

    Then enter your global git config file by running

     git config --global --edit

    Modify this file in the editor of your choice (I use vim, please check some guide if you struuggle with this). And add the line

      copy = "!git-remote-copy"

    to alias area image

    After this you can use this command as if it is default git command image

    Side quest

    • Implement as many pattern as possible, you can find info about patterns an examples of their implementation in PATTERNS.md