Reputation: 25
I am trying to download a file from git reposiroty by using "curl -u : -o -O -L " But it is downloading the html file and not the exact .py file which i mentioned in curl command.
Kindly help with this
Upvotes: 1
Views: 1061
Reputation: 1098
You have to reference to the "raw" version of the file:
https://raw.githubusercontent.com/user/repository/branch/filename
Upvotes: 1