Given that the commands are intended for a full repo (list, get, edit, ...), it should refer to the full size of the elements in this repo, as indicated in " Look at the size of the github repository before cloning it? ".
It seems that in Kb :
- for small repositories, such as the example repo "HelloWorld" :
"size": 140, as soon as I clone it, it registers on my hard drive just below 140 Kb, - and for large repositories (for example, git repo itself, more than 40Mo:
"size": 40844, ).
Update (February 2013, nulltoken comment )
The answer β Look at the size of the github repository before cloning it? β Confirms that the size is in Kb for git alternate objects .
Using a disk against a bare repository does not take into account the storage of shared objects and, thus, returns an "incomplete" value through an API call.
source share