Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with git subtree push: can't find local file

Ryan Chapman September 7, 2017

I'm using subtrees to share an SDK between a number of projects. When I try to push the subtree from one of my projects, I'm getting the following error. I'm using this command:

git subtree push --prefix <prefix> <repo> master --squash
git push using: <repo> master

open <repo-path>\SDK\Plugins\<file>.dll: The system cannot find the path specified.

In this case, <path> is incorrect. It is the path to the root repository and not the file itself. It should be looking for:

<repo-path>\<prefix>\SDK\Plugins\<file>.dll

So in this case, it's as though the push is ignoring the prefix. This command works fine in other repos.

One possible explanation is that this repo was using LFS for the dlls. That said, I've disabled LFS for these files, but I'm still getting the error.

I'm totally stumped on this. I can just hand-copy the subtree to a project that's working, but I'd like to try to understand what's going on.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events