[英]git — how to see branch
this a silly question no doubt but I am a beginner and could not find the answer.. how can I launch a git branch somewhere on my site, without affecting my master branch.. so see the changes it contains? 毫无疑问,这是一个愚蠢的问题,但是我是一个初学者,却找不到答案..如何在我网站的某个位置启动git分支,而又不影响我的master分支..因此,请查看其中包含的更改?
I'm using RoR... thanks. 我正在使用RoR ...谢谢。
Set up a separate development/staging site to test your branch on, and if it works, then apply the changes to the live site. 设置一个单独的开发/登台站点以测试您的分支,如果可行,则将更改应用于实时站点。 You can search around for how to set up a ROR staging site, and google will turn up plenty of examples (including results from Stack Overflow, such as this one.)
您可以搜索有关如何设置ROR登台站点的信息,Google会提供大量示例(包括Stack Overflow的结果,例如此示例)。
我已经编写了使用Ubuntu部署Rails站点的指南,该指南可能对您有所帮助: http : //ryanbigg.com/deployment/getting_started_ubuntu.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.