github - How to pull changes back to Git repository after some changes have been done on live server -
now have standard workflow work localy, push git repo , deployment git repo ftp, our clients use website, still find difficult additions or changes on website after time.
for example after year, when client wants add new things.
what - download files ftp run date website locally, push them git repo, needed, push again git , deployment live.
what want know - there way pull changes git repo live server have date website without need of downloading files again , uploading them all?
example: after year client wants new page - i'd pull live git, pull local environment. can edit website localy, push , deploy live server.
thank advice , ideas!
use git format-patch
generate diff files (patches) , upload/download them.
git format-patch head~x // x number of commits need
here demo on how create patches , they.
Comments
Post a Comment