English 中文(简体)
我是否应该使用吉特语来部署网吧?
原标题:Should I use Git for deployment of web apps?

我将吉特用于跟踪我个人住房项目网络应用的当地变化。 我很想知道,在服务器上使用吉特是否是一个好的想法,因此我只能使用<条码>推动<<><>>>条/代码”来部署我的改动。 这种做法是否有什么缺陷?

最佳回答

这似乎像是做事的 way。 如果你重新贴上标签并妥善分行,将使得你能够在出现中断时迅速改用你的网站的工作版本。

问题回答

我认为,这是这样做的最好办法。 我以类似的方式处理事情,现场只是从存放处进行核查,并在必要时更新。

And online hotfixes can be pushed back to development.
Being able to do a git status on a live system can be a live saver.

<><>Caveats

  • Make sure the the ".git" folder isn t accessible from the web.
  • With PHP the source code is usually present on the webserver, so that doesn t add additional risk in case the server is hacked.

我认为这是一个伟大的解决办法。 我一直在利用这一系统长期部署我的网站。 之所以如此,是因为你们几乎可以立即通过更新手套来推动生产变革。 我没有遇到任何安全问题,也没有遇到任何问题。

欢乐!





相关问题
Tracking Versions, Builds, Revisions, with TortiseSVN

I am the sole developer on a project and have been using tortoiseSVN for quite a while. Now Id like to start getting version information working correctly in the project I.E. show Major Version, Minor ...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

How to handle different csproj [closed]

I am working in a team of five. We are working on a C# application with five csprojects. The problem is that for each csproject, each of my colleagues has their own ideas on how to reference a DLL; ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

How to search for file in subversion server?

Is there a way to search for a file in a subversion repository? Something similar to Unix find command, with which I can find the location of a file in a repository. I know there is svn list, but ...

热门标签