I want to collect files from the git repository on Backlog in bulk.

Asked 2 years ago, Updated 2 years ago, 124 views

I would like to collect files from the backlog git repository in bulk, but it seems impossible due to the nature of the backlog.
For HTTPS, a URL similar to https://--.git is displayed, but is it possible to pull requests from this URL from retrieving the remote repository?

git

2022-09-30 21:46

2 Answers

I thought you just wanted to do git clone.

If you have access to the repository, you can use the HTTPS URL to do git clone on the console.

Example:

 git clone https://nulab.backlog.jp/git/BLG/tutorial.git#← Rewrite the URL as appropriate

If you are using a GUI client for git, you can clone it using the clone function of that client.

Also include a link to the tutorial provided by Backlog: Clone a remote repository.
Select your environment to see examples of consoles and GUI clients.


2022-09-30 21:46

Perhaps you would like to retrieve the contents of the repository in zip files, such as the Release feature on GitHub.

The Backlog Help Center has also been asked to do so, but the fact that the help has not yet been clearly stated in the help has probably not been implemented.

I want the ability to download the Git repository|Backlog Help Center

An alternative is to use git archive.If you have already cloned locally, you can create an archive with the command.

Make the contents of the Git repository a zip file - Qiita

$git archive HEAD --output=/path/to/repo.zip

Alternatively, it seems that there is a way to archive the latest information without cloning it.

Get only specific directories without cloning using git archive - Qiita


2022-09-30 21:46

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.