Version Control System

[Drupal][Git] Basic gits commands to be familiar by a Drupal developer

March 06, 2014 - 15:27

Version control system is used to track the history of the files. Also we can revert the files to another version. Version control system will increase the potential of parallel and distributed work , ie it will track time , merge changes and manage the history of changes in the file.If you are a Drupal developer you might find Git a useful tool. Here a few commands that are to be familiar by a Drupal developer

How to delete files permanently from your local and remote git repositories

If you frequently have to set up git version control system for existing projects then you would very likely run into the problem of having to remove files, which should not have been in git, from git after they were added. Running a git rm will only delete the file from the head and the file would still remain in the repository. This may be alright for small files but this could be troublesome for large files as these would unnecessarily bloat the git repository. But don't worry git being a 'swiss army knife' of version control systems there is a solution to delete files permanently from both your local and remote git repositories.

[SOLVED] Git branches deleted from remote still appearing in local repositories

If you use git as the version control system for your software projects be it Drupal or non-Drupal projects then there is a very good chance for you to have tried deleting branches locally. It is not very often that you have to delete branches from the remote repository. However when people delete branches from remote repositories these branches would still show up in local repositories of the developers. Here is how you handle this.

How to set up your own git server on your VPS / Dedicated server using gitolite

If you own a VPS or a dedicated server or a hosting server which allows you to have shell access then you can easily set up your own git server with as many users and as many repositories as can be stored in the space on your server. All you need to do this is a bit of system administration skills and a hosting server that allows you shell access. Read on to see how you can set up your own git server.

Track server configuration file changes using Git versioning system

When a server is managed by more than one admin, it’s always a challenge to keep track of the changes made to the configuration. And when in a multiserver environment managed by more than one admin, this is going to be more complex. It would have been much saner if there was a utility to handle all this. The ones that we found were quite complicated and was made for handling huge numbers. All we wanted was a very simple utility to do just the job, without much bells and whistles. And so, we started out on our own. Here’s what we have now.

Git - Basic Concepts - from a simple human's perspectives - Part 1

Git is a popular version Control System that is Free Software. Created by Linux Torvalds to manage the development and deployment of the Linux kernel. The advantages of Git prompted developers to use it in many other software projects which required a robust version control system. Recently Drupal made the official transition from CVS to Git citing its advantages. So If you want to be a great developer you should get to know Git and its strengths when compared to existing Version Control Systems.  Read on to get a better perspective on Git and its importance to Drupal.