Is there a way to download only the changed files from a specific date/commit until now?
I want to use the changed changed files for updating our production environment.
That's effectively what pull does - only the commits since the last pull are sent over the wire, and they're applied to the client's working directory. Is there something else you're looking for here?
Hi James,
Thank you for your anwser, unfortunately this is not the anwser i am looking for.
I want to clone (in my empty update folder) only the changed files from a specific date untill now. So not only the last changes, but for example: All the changed files since 2 weeks ago untill now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That isn't how Git or Mercurial work, unfortunately - they're both designed around commits, rather than files. When you clone, you'll get every file in a repo, regardless of when it was last updated, and regardless of how many commits deep you go with the clone. (The concept of "last updated" also gets a little hazy with Git and Hg, since the "last updated" date on a given file on a repo may reflect the date that that copy of that file was first created on the host filesystem, rather than the actual date of the last change.) And the patch format wouldn't really apply here, because it's designed around the specific changes in one or more commits, rather than the files
You might be able to do something with a working directory and a utility like find, though - keep a local copy of the entire repo up-to-date, and use find to look at the files that have changed in the relevant time frame. That might get a bit complicated, but it should work.
What are you trying to do here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.