简体   繁体   中英

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?

I'm using RoR... thanks.

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.)

我已经编写了使用Ubuntu部署Rails站点的指南,该指南可能对您有所帮助: http : //ryanbigg.com/deployment/getting_started_ubuntu.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM