Hi,
I am calm :) As welcome I tried to find the cause and thank you all very much 
for your involvement and help. 

I don't understand what is some "hostility" towards tools like OneDrive and 
trying to use them in conjunction with GIT is perceived so negatively.
They are completely different tools with different tasks and goals.
To the GIT repository does not commit every saved line, etc. - after all, 
that's not what GIT is for. OneDriwe drive saves every copy of the saved file - 
so that even if there were a disk failure in the computer or some other event 
that physically destroys the hardware, I am protected. Making extra copies with 
GIT tools is good, it does not (for me) solve the problem and is "flawed in 
itself".

Don't be surprised if people think of a non-committal way to secure their work 
with proven tools.

-----Original Message-----
From: git-users@googlegroups.com <git-users@googlegroups.com> On Behalf Of 
Konstantin Khomoutov
Sent: Sunday, December 4, 2022 1:01 PM
To: git-users@googlegroups.com
Subject: Re: [git-users] Re: The git projects disappeared after the updated

On Sat, Dec 03, 2022 at 08:38:32PM +0100, rozanski.s...@gmail.com wrote:

[...]
> That is to say, I already have the culprit - in earlier versions of 
> Git I could keep repositories in OneDrive without any problem and 
> everything worked fine, but now it is throwing errors :( :( :( :(.
> 
> Any ideas?

Git never supported keeping its repositores on non-local filesystems such as 
OneDrive (or whatever other "cloud" drive or networked filesystems such as NFS 
or CIFS/Samba). It does have some hacks and kludges to facilitate working on 
_some_ of them, but it's never guaranteed. This is not some whimsical decision 
of the Git's creators: such filesystems, while called that, do not implement 
(or do not implement properly) many aspects of the behavior of "real"
filesystems Git relies on to work properly.

The best way to maintain an offline ("in the cloud") copy of a normal local 
repository is using the `git bundle` command and have the cloud software sync 
the produced single file - a bundle - to the cloud.

A bundle is a special sort of archive which can be fetched from, as if that 
were a regular repository.
See [1] and [2].

I understand this is more complicated as it requires an extra step, but I'd 
want to reiterate that the fact Git _happened_ to work with OneDrive is sort of 
pure luck. Even if you'll report this problem to the Git developers and they 
will somehow manage to work around this, nothing prevents this situation from 
occuring in the future - both due changes in Git and changes in OneDrive.


While we are at it, please next time be more constructive right from the
start: keeping a repository on a non-filesystem is the single most crucial fact 
which was communicated to the auditory after a copious mail exchange (and 
everyone's time spent at guessing).
Also please refrain from resorting TO WRITING IN CAPS: I understand that you 
are annoyed by this problem (and I would be too, were I in your place) but you 
asked for help, and folks genuinely tried to provide it. So there's no point in 
overstating your concerns or demands: you're not talking to repesentatives of a 
commercial entity which signed some support contract with you.
So, stay calm :-)


1. https://git-scm.com/book/en/v2/Git-Tools-Bundling
2. https://git-scm.com/docs/git-bundle

--
You received this message because you are subscribed to a topic in the Google 
Groups "Git for human beings" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/git-users/lD2ekpYaKF4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/20221204120036.tgn3dhst6ks4xsx3%40carbon.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/009501d907e3%24801b8c80%248052a580%24%40gmail.com.

Reply via email to