archive - Git - zip added/modified files since commit id -


i try list differences between specific commit id (in specific branch) , last 1 , compress them keeping tree

e.g - output.zip content :

+---newfolder01 |   +---newfile02 |   +---newfile03 +---existingfolder04 |   +---existingfolder05 |       +---alteredfile06 +---newfile07 +---alteredfile08 

i have access gitlab repository of project, if can simplify command..

optionally, want add file in zip archive indicate files have been deleted.

i saw git-diff must used want, but, don't know if takes account intermediate commit differences? , how combine zip command ?


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -