• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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