git - How to download the flat file from GitHub? -


i'm trying download flat text file github local path.

wget  http://github..../exercise/tree/master/..txt 

after running command see file downloaded html tags.

how file content alone downloaded git path?

well thats pretty easy. use link format:

https://raw.githubusercontent.com/<username>/<repo>/<branch>/folder/filename.c

edit: thx comment


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -