I have a repo in a project called curriculum. What I want to do is use the api v4 to create a new project with a repo that is made up of one of the subdirectories of the curriculum repo. I think I can do that with the repository files api, but that adds a commit for every single file. For example, I have a project with the repo: topic/lesson1/exercises. I want to pull the exercises directory, all files and subdirectories, and make a new project with a repo: exercises. We are self-hosted on 14.4.1 CE. Thanks!
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Is there any API available for copy a file from one project to another? | 0 | 504 | April 29, 2020 | |
Best way to clone a repo to a new one with the REST API? | 3 | 6887 | March 9, 2022 | |
Move all Repos from self hosted gitlab to github or bitbucket or gitlab cloud | 4 | 2431 | December 9, 2019 | |
Repo migration to new gitlab | 0 | 126 | April 3, 2024 | |
Gitlab.com-to-Gitlab.com Import Project Repo by URL via API | 3 | 302 | September 26, 2023 |