> After some pondering I came to the conclusion that mere so-called "bare 
> cloning" - what a call to
>  git clone --bare REPO_URL REPO_DIR

yes, yes, yes :) :) :)
You are great !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Works - git directory = local, tree on OneDrive
SourceTree works fine, PHPStorm works fine !!!!!!!

Thanks, thanks, thanks for your time, help and commitment.

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

On Thu, Dec 08, 2022 at 03:33:21PM +0400, Konstantin Khomoutov wrote:

[...]
>  1. You should not clone a Git repository located on a local filesystem.
>     Clone the replica of such repository hosted by your Git hosting provider.
>     To say that in some other words, "clone form the cloud", "clone from
>     the server".
> 
>  2. The repository should be cloned in the "mirror" mode.
>     As I've originally stated, I have no idea whether the tools you're using
>     can do that. You cannot "just" clone, and I have gone to great length
>     (I think) to underline that [*].

After some pondering I came to the conclusion that mere so-called "bare 
cloning" - what a call to

  git clone --bare REPO_URL REPO_DIR

does should suffice for your task. I'm not 100% sure, but this can be further 
investigated, and I would assume bare cloning has way higher chances of being 
implemented in third-party tools to work with Git.

As to separate work trees and SourceTree, it appears to be not implemented [1, 
2] even though it was requested back then in 2017. Not that I'm surprised.

On the other hand, Git Extensions - a tool I would recommend to anyone wanting 
a GUI front-end to Git back then I were using Git on Windows, appears to have 
it implemented [3].

As to support in PHPStorm, I've googled for the relevant keywords and it 
appears to be implemented (if I get it correct that PHPStorm is just a facet of 
the IntelliJ IDEA IDE): [4].

 1. https://jira.atlassian.com/browse/SRCTREE-3204
 2. https://jira.atlassian.com/browse/SRCTREEWIN-8594
 3. 
https://git-extensions-documentation.readthedocs.io/en/release-3.4/worktrees.html
 4. https://youtrack.jetbrains.com/issue/IDEA-143404

--
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/20221208124148.yiu7ak3pmqirot5c%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/000001d90bc0%24f4027b50%24dc0771f0%24%40gmail.com.

Reply via email to