version control - Update files from an exported Git repository offline -


let me describe scenario first , of needs occur without connecting internet. windows method preferred on linux.

a client has version of our software hand delivered cd. after number of pushes made on our repository, client receive these updates files without having redeliver files. have deliver copy of repository , have git update older files current state. access history or branches not necessary, current version of each file required copied.

so question, best (easiest) method update separate offline files current external repository state?

i have read of few possibilities not understand differences or capabilities of them or exact process , commands. furthermore, every example have found uses https: transfer files.

1) remote add, remote update, merge

2) clone repository user pull

3) git archive create tarball

4) bundle appears un-pushed commits.

it extremely helpful have cmd commands written out if possible.

if understood case can generate patch file using git diff --patch <revision_of_customer> > latest_version.patch , apply on customer's side using patch utility. approach working text files only. if have binary files in repository can take @ utilities recommended here.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -