i want download repository have changed files only, example yesterday commit hash 923daf , today commit hash 4292ab, , want download 923daf until 4292ab only.
thanks.
i don't think can extract specific set of files remote git
alone.
as hbhb said in comments, can use shallow cloning (--depth
), limit amount number of commits in clone, long latest commit (in case 4292ab) branch tip, in case need --branch <your branch's name>
. in case, you're still downloading of files @ branch tip; shallow cloning limits history, , not actual files end in working directory.
there may third-party git hosting services provide api sort of thing, though don't believe bitbucket 1 of them.
Comments
Post a Comment