为了实现这个目的,我们定义一个文件是否修改过为本地时间戳大于等于远程服务器上的时间戳。
For our purposes, we define a file as having changed if the local timestamp is greater than or equal to the timestamp on the remote server.
下面来到步骤3,比较列出文件的时间戳和其所对应的远程时间戳,仅仅上载那些修改过的文件。
Let's move on to step three, comparing the timestamps of the listed files with the remote timestamps, and uploading only those files which have changed.
你的配置管理工具可以在工作文件上记录时间戳,所以它在你修改的时候可以监测到。
Your SCM tool may record the timestamp on the working file, so that it can later detect if you have modified it.
应用推荐