3 ms·
Can you fork that test repo via the API?
by mihaitodor 7y ago
Can you fork that test repo via the API?
- tomashubelbauer 7y agoThere is an API endpoint for file listing so even if it is not possible to fork it using Git, one could probably just list and fetch contents of all the files in the repo, effectively having cloned it.
- tyingq 7y agoI was able to fork it via the API: https://github.com/tyingq/test https://github.com/tyingq/test It acts a bit funny. Http 500 "Internal Server" errors if I access the above url with a desktop browser, but no error if I browse it with a mobile browser. Heh. The - user is now showing a fork of the test repo: https://api.github.com/repos/-/test/forks https://api.github.com/repos/-/test/forks