Using git for deployment with preexisting untracked code on production server -


so have production server code out of date , have remote git repository date code.

what want of date code onto production server without deleting stuff uploads exist on server.

what's best way this? have git init'ed on production server, added remote , done git fetch --all. need know next.

after taking full backup, should safe cp -r git-dir/* production-dir/ copy on date content along .git. you'll want add dir's containing uploaded data .gitignore.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -