0

At work we use git for version control, but not for pushing to development and test sites (attempts have been made to set this up, but no success).

Instead we have to put together patches by copying the files in the correct paths to an update folder in the form of \sitename\developer-date-001\ which is then applied manually via ftp by someone else.

Is any tool that could look at a git repository and duplicate just the files changed between certain commits into the correct directory structure to make creating those patches more straightforward.

4

1 回答 1

0

git format-patch和相关的命令可能会做你正在寻找的东西。git diff还将创建补丁格式的差异。

于 2012-09-25T22:16:30.483 回答