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

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -