Setting up Git online and copying to a website

I'm a Git newbie and wondering how I should install it within the limitations of our environment and hope that someone can help me and let me know if I think correctly.

Our IT department would prefer that there is no Git on our staging server, so we think we will have to use a network drive. The plan is as follows:

  • Git repository online
  • Local development machines are pulled out of the network repository, make changes, discarded back to the repository
  • manually copy from repository to web server (do you export version or just copy content directly?)
  • IT does security testing and copies the changes to the production web server (we do not have access to the production server)

Does this sound like a good plan, and is it a good way to use Git?

Thank!

+3
source share
1 answer

This is definitely a good way to use git. I would highly recommend it. Using version control in general is a very important key to maintaining common sense when developing good code and how it made its way to the Joel Test . If developers can control everything related to their development cycle, this is also beneficial because there is no bottle neck in development. In addition, IT, capable of maintaining autonomy there, its own systems, also sounds like a good idea. So this could be a win-win situation.

( ) , , , , , , , , - .

, rsync. , . git checkout , , , , rsync ( rsync, ). , , .

, ( git SHA-1), , , , .

, git, : git

-

, - /.

+1

All Articles