How to set up Git as VCS on windows workstation/se

2019-07-09 19:43发布

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条回答
迷人小祖宗
2楼-- · 2019-07-09 20:28

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)

查看更多
登录 后发表回答