Open RoxKilly opened 4 months ago
Suppose I'm trying to download a repo using the GitGetter:
GitGetter
git::https://github.acme.com/team/repo
Under the hood, something like this gets executed:
git clone https://github.acme.com/team/repo /tmp/dir
The server expects me to send some extra headers. From my shell I can clone with:
git clone -c http.extraHeader='header: val' https://github.acme.com/team/repo /tmp/dir
What is the idiomatic to pass extra args to git clone (source code)?
git clone
Suppose I'm trying to download a repo using the
GitGetter
:Under the hood, something like this gets executed:
The server expects me to send some extra headers. From my shell I can clone with:
What is the idiomatic to pass extra args to
git clone
(source code)?