Important
This is highly experimantal, bugs are expected
🛠️ A utility command to copy any folders or files of any public github/gitlab/bitbucket repo to selected path, without copying the whole repo
- 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
You must have npm installed in order to install this script.
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.
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"After this you can use this command as if it is default git command

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