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 - Knockout pushing observable and computed data to an observable array -

'hasOwnProperty' in javascript -

Trouble making a JSON string -