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-copyAnd use it like
git-remote-copy https://github.com/kujo205/kujo205/blob/main/README.md .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 --editModify 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
After this you can use this command as if it is default git command
Side quest
- Implement as many pattern as possible, you can find info about patterns an examples of their implementation in PATTERNS.md