git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Cloning or pushing only files that have been updated

From
Ccl@qgenuity.com <cl@qgenuity.com>
Date
Apr 25, 2015, 21:17 UTC
Message-ID
<054116d47b69ca56f3369369df9fb4d8.squirrel@www.qgenuity.com>
Hi,
I have two sets of files.
A_Old is a large unversioned directory tree containing many files.

A_Updated is a git repository containing the files from A_Old, some of which have been modified. A_Updated also contains new files.

I am looking for a way of cloning only the new or modified files from A_Updated to A_Old. I would like A_Old to become a clone of A_Updated, however I don't want to download the entire archive because of access speed issues.

Timestamps on all files are accurate.
Any ideas?
- J
Next: Johannes Sixt
Message 1 of 2 in “Cloning or pushing only files that have been updated”
  1. cl@qgenuity.comApr 25, 2015
  2. Johannes SixtApr 25, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.