github - What is git-repo init and git-repo sync? -
i'm using google's git-repo plugin. according understanding repo sync
download whole source code (i.e. previous revisions) repository. why taking lot of time complete whole process.
can download latest commit repository?
i don't use repo, appears can pass --depth
flag repo init
. using repo init -u url --depth=1
. depth flag gets passed git-clone
, create repo part of history:
--depth <depth>
create shallow clone history truncated specified number of revisions. shallow repository has number of limitations (you cannot clone or fetch it, nor push nor it), adequate if interested in recent history of large project long history, , want send in fixes patches.
Comments
Post a Comment