Copy files from github over SSH using SCP
I am trying to download a file from a github repository and I would like to use ssh (using scp) instead of downloading over HTTPS. Is it possible? Could you give me an example? Thank.
+3
Marigold
source
to share
1 answer
No, It is Immpossible. Git repositories are not made up of actual files, but a collection of incremental changes.
Therefore, you must clone the repository to get the file. Github only offers HTTPS uploads as "services".
+5
H4kor
source
to share