arthaud / git-dumper

A tool to dump a git repository from a website
MIT License
1.8k stars 247 forks source link

Authorization header ? #34

Closed wwwGeneral closed 2 years ago

wwwGeneral commented 2 years ago

Hi ! I was wondering if it were possible to add a specific header for crendentials ? Like "Authorization: Basic myt54rdvu4f8pe1"

arthaud commented 2 years ago

This can already be done using --header or -H. For instance:

git-dumper --header="Authorization=Basic myt54rdvu4f8pe1" URL DIR
wwwGeneral commented 2 years ago

Oh thanks ! I didn't knew that :D