I am trying to download a private git repo.
when I do git clone https://<DEV_USER>:<DEV_PWD>@github.<corpName>.net/Svcs/repo.git
it works!
But I dont really need all the git history. I just need the repo as a file directory. Hence I was trying to archive.
git archive --remote=<DEV_USR>:<DEV_PWD>@github.<corpName>.net:Svcs/repo.git
I get the following error
Could not resolve hostname <DEV_USER>: nodename nor servname provided, or not known
fatal: The remote end hung up unexpectedly