Reputation: 1407
I'm trying to download the flat text file from GitHub to local path.
wget HTTP://GitHub..../exercise/tree/master/..txt
After running the command i see the file downloaded with HTML tags.
How do I get the file content alone downloaded from the Git path?
Upvotes: 1
Views: 253
Reputation: 2410
Well actually thats pretty easy. Use this link format:
https://raw.githubusercontent.com/<username>/<repo>/<branch>/folder/filename.c
Edit: thx to the comment
Upvotes: 2