• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Resolved Moving a git repository to another domain

Erwan

Regular Pleskian
Hi all,

On a server, we had a development domain with a repositery git.
Domain: dev.mydomain.com
Directory of the domain: dev.mydomain.com/
Git repositery: project.git

We copied the content to the production domain httpdocs.
Domain: mydomain.com
Directory of the domain: httpdocs/

How can we resume the .git on the main domain without reinstalling it? He is present in /var/www/vhosts/mydomain.com/git/project.git but it does not appear in Plesk.
Is there a command to attach the repository to the domain?

Thank you for your help.

Erwan
 
hello @Erwan
Plesk does not support moving of repository to the another domain.
I suggest you to initialize new repo at your production domain, checkout code from dev repo and add another one remote
something like
git remote add myprod ssh://user@mydomain.com:~/git/prjct.git
and push appropriate branch to this remote with command
git push myprod my_production_branch
 
Back
Top