How to set up Git as VCS on windows workstation/server for web projects(ASP)?

倖福魔咒の 提交于 2019-12-11 00:14:24

问题


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


回答1:


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:

  • a simple one
  • another simple workflow
  • one for agile team
  • one for a single developer

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)



来源:https://stackoverflow.com/questions/3581831/how-to-set-up-git-as-vcs-on-windows-workstation-server-for-web-projectsasp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!