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

Re: [PATCH v2 3/3] gitfaq: add entry about syncing working trees

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 8, 2021, 22:09 UTC
Message-ID
<xmqqmtmes3ix.fsf@gitster.g>
In-Reply-To
<CAPig+cRtOpaPd_HCQAW=33-vxhP4Knijo3g0dUA9HVb4_=JH4w@mail.gmail.com>
Eric Sunshine <sunshine@sunshineco.com> writes:
Show 9 quoted lines
> Taking into consideration that people who are experiencing such
> corruption will likely include the name of the syncing service in
> their search query, would it make sense to mention some well-known
> services here in order to make it more likely that people will
> actually find this entry? Something like this, perhaps:
>
>     It is important not to use a cloud syncing service (such as DropBox,
>     FooBar, CowMoo, BuzzingBee, etc.) to sync any portion of a Git
>     repository...

I do agree that in a repository being actively modified, any backup/sync solution that works per-file fashion would not work well. But is "cloud" a good word to characterise and group these per-file backup/sync solution?

Doesn't rsync work the same per-file fashion, and the only reason why it is a better fit is because it is not continuous, not attempting to "sync" while the repository is in use, until the user explicitly says "OK, I am ready to go home, so let's stop working here and send everything over to home with rsync"?

Show 8 quoted lines
>> +* There are no additional worktrees enabled for your repository.
>
> I don't fully understand this restriction. Can you explain it (at
> least here in the email discussion)?
>
>> +* You are not using a separate Git directory outside of your repository root.
>
> Same question about this restriction.

As long as you know what you are doing and catch everything in quiescent state, you should be fine, I would think.

Previous: Eric SunshineNext: Junio C Hamano
Message 9 of 19 in “Additional FAQ entries”
  1. 0/3 Additional FAQ entriesbrian m. carlson, Nov 7, 2021
  2. 1/3 gitfaq: add documentation on proxiesbrian m. carlson, Nov 7, 2021
  3. Eric SunshineNov 7, 2021
  4. brian m. carlsonNov 8, 2021
  5. Junio C HamanoNov 8, 2021
  6. Johannes SchindelinJan 4, 2022
  7. 3/3 gitfaq: add entry about syncing working treesbrian m. carlson, Nov 7, 2021
  8. Eric SunshineNov 8, 2021
  9. Junio C HamanoNov 8, 2021
  10. Junio C HamanoNov 9, 2021
  11. brian m. carlsonNov 14, 2021
  12. 2/3 gitfaq: give advice on using eol attribute in gitattributesbrian m. carlson, Nov 7, 2021
  13. Eric SunshineNov 7, 2021
  14. brian m. carlsonNov 8, 2021
  15. Eric SunshineNov 8, 2021
  16. Johannes SchindelinJan 4, 2022
  17. Johannes SchindelinJan 4, 2022
  18. brian m. carlsonJan 6, 2022
  19. Eric SunshineNov 9, 2021

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.