https://github.com/rrandom/git-clone.js
https://github.com/rrandom/git-clone.js
cli git git-client git-clone typescipt
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rrandom/git-clone.js
- Owner: rrandom
- License: apache-2.0
- Created: 2021-08-02T13:36:16.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-02T14:44:59.000Z (over 4 years ago)
- Last Synced: 2025-08-09T07:05:08.963Z (6 months ago)
- Topics: cli, git, git-client, git-clone, typescipt
- Language: TypeScript
- Homepage:
- Size: 90.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-clone.js
A Typescript implementation of `git clone` command,
based on the original [Haskell version](https://stefan.saasen.me/articles/git-clone-in-haskell-from-the-bottom-up/).
- support git protcal.
## Develop
open git daemon server
```
cd ..
git daemon --reuseaddr --verbose --base-path=. --export-all
```
run the ls-remote command or the clone command
```
yarn cmd ls-remote "git://localhost/git-clone.js"
yarn cmd clone "git://localhost/git-clone.js" out
```
## TO-DO
add test fixtures.