用于Web开发的Git工作流程 [英] Git workflow for web development

查看:105
本文介绍了用于Web开发的Git工作流程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在玩本地机器上的git,一切都很有意义,直到涉及到一个远程和多个开发人员时,我开始感到困惑。



我的目标是拥有一个半公开的开发网站,一群4人可以在他们准备好的时候开展工作,并将更改推向现场。我们需要dev站点位于公共Web服务器上,以便我们能够在实时更改前获得批准。安全并不是一个大问题,所以我打算只使用一个简单的.htaccess来限制访问。并非所有的变化都需要获得批准,但我希望开发站点能够保持最新状态。



最大的挑战是我们四个中的两个是设计师等等,因此整个过程需要变得快速而简单。他们习惯于对网站进行修改。我不想做一个10步程序来处理他们现在正在使用键盘快捷键所做的事情。



有什么建议吗?

解决方案

结账: /github.com/blog/392-intro-to-git-for-designersrel =nofollow noreferrer>设计师的Git

  • GitX ,一个用于OS X的图形Git工具

  • Capistrano 用于部署



  • 这应该让大家熟悉使用git并为您提供有效推送更改的工具。


    I have been playing around with git on my local machine and everything makes sense until it comes to a remote and multiple developers I start getting confused.

    My goal is to have a "semi public" dev site/s that a group of 4 people can work on and push changes to the live site as they are ready. We need the dev site/s to be on the public web server so that we can get approvals before pushing changes live. Security isn't a huge concern so I am planning on just using a simple .htaccess to restrict access. Not all of the changes need to be approved but I want the dev site/s to stay up to date.

    The big challenge is that 2 of the 4 of us are designers and so the whole process of making a change and pushing it live needs to be fast and simple. They are used to just ftping changes to the site. I don't want to make a 10 step process to do what they are doing with a keyboard shortcut right now.

    Any suggestions?

    解决方案

    Check out:

    This should get everyone familiar with using git and give you a tool for efficiently pushing out changes.

    这篇关于用于Web开发的Git工作流程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆