How can I fetch folders or files from github to sololearn? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I fetch folders or files from github to sololearn?

Are you have a idea?? I want fetch files from my git there.. https://code.sololearn.com/WaYFbxtLi1Bv/?ref=app

21st Jan 2022, 8:59 PM
Hacker
Hacker - avatar
3 Answers
+ 3
Go to the file you want to download. Click it to view the contents within the GitHub UI. In the top right, right click the Raw button. Save as. This is now possible in GitHub for any file. You need to translate your files for raw.github.com. For example, if your file is in your repository at: https://github.com/<username>/<repo>/some_directory/file.rb Using wget you can grab the raw file from: https://raw.github.com/<username>/<repo>/<branch>/some_directory/file.rb
22nd Jan 2022, 5:52 AM
Ankita Kumari
Ankita Kumari - avatar
+ 3
There's an error saying you cannot add properties of null to addEventListener
22nd Jan 2022, 6:41 AM
Ankita Kumari
Ankita Kumari - avatar
0
Thanks, see my new code... Need it.. https://code.sololearn.com/WMo7NIs9807M/?ref=app
22nd Jan 2022, 5:55 AM
Hacker
Hacker - avatar