Category Archives: Version control system

Recompress git repository

Git repositories are getting bigger and bigger. To reduce the disk space used by a repository, git provides some housekeeping functionality. Compared to other version control systems, git stores the complete history in each cloned repository if not told otherwise. This can … Continue reading

Posted in Version control system | Tagged | Comments Off on Recompress git repository

Setup gitolite to manage git repositories

Git provides all the required tools to create remote repositories. As explained in Setup gitosis to manage git repositories, a bare repository can be generated and managed manually or with gitosis, but this is not the only git repository management … Continue reading

Posted in Linux Administration, Version control system | Tagged , | Comments Off on Setup gitolite to manage git repositories

Gitosis Arguments to command look dangerous

Dealing with non-English languages, you might come across a couple of issues caused by special characters. Even gitosis has its limitations in this area. One of the error messages caused by special characters is: “Arguments to command look dangerous”. When a … Continue reading

Posted in Linux Administration, Version control system | Tagged , , | Comments Off on Gitosis Arguments to command look dangerous

Gitosis Unsafe SSH username in keyfile

While configuring and using Gitosis you will probably see the following error sooner or later. This error will appear immediately when changed configuration is pushed to the gitosis-admin repository. With this error, the reported user keys are not provisioned properly … Continue reading

Posted in Linux Administration, Version control system | Tagged , , | Comments Off on Gitosis Unsafe SSH username in keyfile

Git repository cluster setup – Part 2

A git cluster with more then two servers with the approach described in Git repository cluster setup will increase the time you need to push changes to the cluster. This is because of the mirroring back. To solve this a more advanced version of the script is needed to avoid that the mirror-server would try to mirror the changes back to the master-server. Continue reading

Posted in Linux Administration, Version control system | Tagged , , , , | Comments Off on Git repository cluster setup – Part 2

Keep track of Linux configuration changes with etckeeper

The configuration of a linux server will change over time. Keeping track of the changes of all the configuration files can be a challenge. etckeeper is a utility that makes this easy. With the help of etckeeper, the complete /etc/ directory is placed … Continue reading

Posted in Linux Administration, Version control system | Tagged , , | Comments Off on Keep track of Linux configuration changes with etckeeper

Git repository cluster setup

When you have gitosis and a number of repositories installed on a server and need to move them to another server or you want to build a cluster to have more then one server having serving the repository. This will describe how I solved this with my gitosis repositories. Continue reading

Posted in Linux Administration, Version control system | Tagged , , , , | Comments Off on Git repository cluster setup

Setup gitosis to manage git repositories

With git you can have a repository on your client working independently and even not having any remote repository. But if you wane share your work with others, a remote repository will be needed. Such a remote repository can be easy set up. Continue reading

Posted in Version control system | Tagged , , , | Comments Off on Setup gitosis to manage git repositories

Merge two SVN repositories

There was a point in time when i created a copy of a project and it was then committed into another repository. This as such is not a big problem, but merging those repositories back together while keeping all the complete changes in the history is a challenge. Continue reading

Posted in Version control system | Tagged , , , | Comments Off on Merge two SVN repositories

Subversion via ssh using authorized_keys

When i used subversion in the past i created a separate user on the linux operating system. This user then got the right to login via ssh to use subversion. If you have one or two users to manage that is not a big deal. But when the amount of users is growing … Continue reading

Posted in Linux Administration, Security, Version control system | Tagged , , , | Comments Off on Subversion via ssh using authorized_keys