Thursday, October 24, 2013

Git saved the day

On last Wednesday, the firewall server in our company had some fatal error and was down for most of the day. There was no connectivity to and from the outside world to our network.

My core project was working with an enterprise application for a client who hosted their source control repository on the internet. No internet access mean that I could not access the repository.

For those who are using centralized repository (such as RVS, CSV, SourceSafe, TFS, SourceGear Vault, etc), this usually mean that you have to work in offline mode or disconnected mode.

However, my client is using Git system, which is primarily a disconnected distributed source control system. The core concept in Git is that each developer has a local repository on their own machine. Everyone will check-in/check-out files on the local repository. From time to time you sync it with the remote repository, which act as the centralized repository.

With Git, I was able to continue my work without being affected by no external network connectivity. At the end of the day, I was able to finish my tasks, and checked-in all my code to the centralized repository after our firewall server was up-and-running once again.

Git saved the day.

No comments:

Post a Comment