如何在Web工程(ASP)的Windows工作站/服务器上将Git设置为VCS? [英] How to set up Git as VCS on windows workstation/server for web projects(ASP)?

查看:168
本文介绍了如何在Web工程(ASP)的Windows工作站/服务器上将Git设置为VCS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

团队中有5人负责一些ASP项目。
在运行Windows Server的局域网中有一台本地服务器,我们不会使用它作为备份存储。
我们也有一台运行Windows Server的远程服务器。我们在那里发布我们的最终产品,并使用远程桌面连接来处理它。



我们目前的工作流程是在Dreamweaver中编写代码,然后通过FTP将文件直接放入远程服务器。



现在我们要将Git作为我们的版本控制系统放入工作流程中。我真的不知道如何设置,我的意思是,如何改变我们的工作流程。我们应该把Git服务器放在我们的本地服务器还是远程服务器上?然后呢?



任何建议将不胜感激!



谢谢!对不起我的英语:D



Karl

解析方案

将使用Git(使用 msysgit发行版):




  • 在您的远程服务器上的每个开发人员工作站上


>

然后,其中一个实例可以扮演中央存储库的角色。



从那里开始,您可以遵循许多工作流程:





Git支持所有类型的工作流程。



另请参阅 ProGit分布式工作流程一章。

不要忘记分支工作流程
a>,它涉及合并(与分布式工作流程相对,后者涉及推送/拉出版物操作

We have 5 people in the team working on some ASP projects. There's one local server in LAN running Windows Server, we don't use it much just make it as a storage for backup. And we also have a remote server running Windows Server as well. We publish our final product there and use Remote Desktop Connection to work on it.

Our current workflow is, we code in Dreamweaver and then "put" the file straight to the remote server through FTP.

Now we want to put Git as our version control system in the workflow. I really don't have any ideas about how to set that up, I mean, how to change our workflow. Should we put the Git server on our local server or remote server? And then?

Any suggestion will be appreciated!

Thank you! Sorry about my English :D

Karl

解决方案

First, you will put Git anywhere you need it (using the msysgit distribution):

  • on each of the developer's workstations
  • on your remote server.

Then, one of those instance can play the role of "central repository"

From there, you can follow many workflows:

Git supports all kind of workflows.

See also the ProGit Distributed Workflows chapter.
And don't forget the branching workflow, which concerns merges (as opposed to the "distributed workflow" which involves push/pull publication operations)

这篇关于如何在Web工程(ASP)的Windows工作站/服务器上将Git设置为VCS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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