Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to release with Git?

I have a basic question about Git:

Let's say there is subdomain git.mysite.com with git installed in it. My actual site is on mysite.com. How do I tell Git to "release" a specific or latest commit to mysite.com?

I use MediaTemple(gs) for my hosting. Site is in /domains/mysite.com/html and Git is in /domains/git.mysite.com/html/mysite.git .

Thank you!

like image 294
Vasily Avatar asked Aug 09 '10 19:08

Vasily


People also ask

What does Git release mean?

Releases are GitHub's way of packaging and providing software to your users. You can think of it as a replacement to using downloads to provide software. With Releases, you can provide links to binary files, as well as release notes describing your changes. At their core, Releases are based on Git tags.

How do I create a Git release branch?

Use the “git flow release start” command to create the release branch. When the release is stable, run the “git flow release finish” command. $ git flow release finish '0.1. 0' Already on 'master' Deleted branch release/0.1.

How do I follow a release on GitHub?

Choose a parent folder, GitHub releases in my case, and click on subscribe. Now, you can check if there is a new Kubernetes release with one click: You can click on the version number, and the new page opens with release details.

What is release notes in GitHub?

Automatically generated release notes provide an automated alternative to manually writing release notes for your GitHub releases. With automatically generated release notes, you can quickly generate an overview of the contents of a release.


1 Answers

You would need to run a git pull from the site managing git. I'm not sure how MediaTemple handles that, or their file / site structure.

like image 79
Josh K Avatar answered Oct 03 '22 00:10

Josh K