Skip to main content
Filter by
Sorted by
Tagged with
6 votes
1 answer
272 views

tl;dr: What are the minimal changes needed to make a standalone folder work in Python runtime, and get modules resolved in VS Code, as though it's part of a parent module namespace? Simple example at ...
Phrogz's user avatar
  • 304k
2 votes
0 answers
108 views

At my company we a have large "bundle" repository with many sub-projects combined (for historic reasons). There a sub-projects (let's call it projA) for which I have a standalone repository. ...
Pablo's user avatar
  • 13.7k
1 vote
1 answer
85 views

I have read and used git subtree functionality a lot. Especially are useful these links Add subdirectory of remote repo with git-subtree If I have main repo: base/folder1 base/folder2 And I have sub ...
Veljko's user avatar
  • 59
0 votes
0 answers
22 views

I am encountering an issue while trying to access a component from a Git subtree in my Svelte project. Here’s a simplified view of my project structure: root - .subtree - imports - ui - ...
Anish Nahar's user avatar
1 vote
0 answers
47 views

I'm currently working on a project where I need to integrate a specific subfolder (folder F) from a repository (RepoA) into another repository (RepoB). I tried using git subtree and submodules, but ...
daniel guo's user avatar
1 vote
0 answers
85 views

I have a git repository that I would like to reuse in another project as a library. So I have this kind of library (Lib A) that has quite a lot of branches for different configurations and I want to ...
Daniel's user avatar
  • 71
1 vote
0 answers
70 views

Is there any way to show only subtree history, like with git log but filtering only specific subtree's related commits? When I add a subtree with --squash option only a merge commit is shown, but the ...
Alberto López's user avatar
1 vote
0 answers
230 views

I am using SourceTree to interact with branches. Also, my git knowledge is extremely limited I have a NAV-482 branch (/nav.git repository). Subtree branch is NAV-482-DLL (/nav.dll.git repository). ...
Olegs Jasjko's user avatar
  • 2,126
0 votes
1 answer
129 views

I have the following git history: | Merge (HEAD) |\ SubTree Add (Squashed) | ** Git Commit I need to Split Into Two Commits ** | Git Commit 1 I am trying to clean up my git history a bit ...
Fury's user avatar
  • 523
0 votes
1 answer
580 views

I am trying to migrate to a monorepo keeping the history, after some research, looks like the ideal tool is git subtree. I think I misunderstood something about git subtree, I hope any of you could ...
TalesMGodois's user avatar
0 votes
0 answers
51 views

I'm currently researching subtree-related issues I added the B repository as a subtree to the A repository by creating a folder named B However, when importing modules from the subtree, I encounter ...
james L's user avatar
  • 11
0 votes
1 answer
174 views

let upper, left, and right be directories as in the following diagram. upper ├── left └── right question how do i best manage these with git as local git repositories such that each upper, left and ...
windfish's user avatar
  • 101
0 votes
1 answer
252 views

My situation is simple - I have a parent repository with a subtree nested in a subdirectory. Originally, these were two separate repos (i.e. I did not use the subtree split tool). I created the ...
austinw's user avatar
  • 764
1 vote
1 answer
314 views

Currently using Visual Studio 2022 17.4.4. I have a Git repo that contains a subtree folder. Within Visual Studio, the Git Changes window shows two repositories - one for the main repo and another ...
Ken's user avatar
  • 101
0 votes
0 answers
436 views

I'm trying to utilize git subtree to add another repo into my existing repo. Problem is I don't want all the files from the repo. I only want to clone the files within a specific folder. So for ...
omega's user avatar
  • 44.5k
1 vote
0 answers
90 views

When I have a container project with bunch of git subtree directories, each tracking their respective main, how can I switch (and even create) a branch in one of the subtrees? The setup being: .\...
towi's user avatar
  • 22.5k
1 vote
1 answer
814 views

I have a git repo with a subtree that was set up years ago with a bad split commit that's throwing errors when I try to do a git subtree push. The error I get looks something like this: git push using:...
shwick's user avatar
  • 105
1 vote
1 answer
125 views

How do I undo all local changes to a subtree and replace everything with the remote commit? git subtree pull --prefix repo https://github.com/repo/repo.git main --squash
JSdev's user avatar
  • 21
0 votes
0 answers
102 views

I used git subtree split to split directory of my repository with this article: https://shantanoo-desai.github.io/posts/technology/git_subtree/. It worked good with standard commits but all merge ...
Moko Doko's user avatar
1 vote
1 answer
275 views

So I've used git subtree strategy to incorporate a repository branch into another as a subdirectory. First I used git subtree add -P some/dir1 myremote dev. Then I renamed the subtree directory to ...
Charles Langlois's user avatar
0 votes
1 answer
328 views

The scenario is that I'm in the middle of a task, in a feature branch, and then I've been asked to do a quick hot fix, or do some tests on another branch. And so, one approach is to close up my ...
Richard A Quadling's user avatar
-1 votes
1 answer
93 views

The situation is that we have two repositories, parent and child. The parent repo has the child repo as a subtree: parent/ child/ After some time, the child repository has diverged from its ...
CLOVIS's user avatar
  • 1,046
0 votes
0 answers
26 views

I have seperated the models and DB directory to a separate shared repository from the source application repository in order to use this shared repostory as a library/shared directory with other ...
David Çonquerør's user avatar
3 votes
1 answer
1k views

I want to add a source repo B into a target repo A directly under the parent folder 'application' of A by using: git subtree add --prefix=application <remote name of B> <branch name of B> ...
Unknown developer's user avatar
1 vote
0 answers
36 views

I'm trying to merge a sub-repo into a main-repo in GIT. my sub-repo file explorer While doing the merge, I'm providing a specific folder for each of my sub-repo files & folders, for example my ...
JSAddict's user avatar
  • 12.4k

1
2 3 4 5
11