A
A
akaSpy2020-05-09 09:49:46
git
akaSpy, 2020-05-09 09:49:46

How to restore a repository in GitLab from a production server?

There is a project example.com. A git repository is installed on the production server. There is no access to the origin of the repository, but there are ssh accesses to the production server with the site.

Is it possible to somehow create a new repository on the GitLab side and import the repository from the production server there?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Vokhmyanin, 2020-06-18
@Delagen

If you have a full-fledged clone, then yes, no problem
. Change the remote of the project and upload it to the new origin
, see git remote, git push

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question