1

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

1 Answers1

1

You have to reference to the "raw" version of the file:

https://raw.githubusercontent.com/user/repository/branch/filename
Paolo Mossini
  • 1,064
  • 2
  • 15
  • 23