필터 지우기
필터 지우기

Git operations are not available for shallow git repository

조회 수: 2 (최근 30일)
Volodymyr
Volodymyr 2022년 7월 4일
댓글: Kimmo Eggers 2023년 7월 21일
When clone github project with depth parameter (shallow git repository) and open it in Matlab - project is not detected as Git source controlled, Git operations are not available for project.
Does shallow git repository supported in Matlab?

답변 (1개)

Amanjeet Pani
Amanjeet Pani 2022년 7월 13일
As i understand you need to clone your git repository using matlab
you can go through this documentation and see if this helps. am afraid shallow git option is not available as it is but maybe you can look up for similar ways to deal with it.
  댓글 수: 2
Volodymyr
Volodymyr 2022년 7월 14일
I'm clonning project through Git (with depth parameter, it means clonning git shallow), and open project in Matlab then. That project is not detected as git local repository (there are no git context commands such push, commit, etc.). If I clone the same project using git without depth parameter, then opened project in Matlab is detected as git local repository. Why shallow git repository (project cloned with depth parameter) is not detected as local git repository in Matlab?
Kimmo Eggers
Kimmo Eggers 2023년 7월 21일
I am facing the same issue. Would be useful to know how to get this to work if possible.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Source Control Integration에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by