Version control system Archives - Experiencing Technology https://blog.tinned-software.net/category/version-control-system/ Tinned-Software Blog Mon, 30 May 2022 21:53:38 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.4 Convert Subversion repository into git repositories https://blog.tinned-software.net/convert-subversion-repository-into-git-repositories/ Mon, 30 May 2022 21:53:38 +0000 https://blog.tinned-software.net/?p=2884 A long long time ago before git was the dominant version control system (VCS) I used Subversion for quite some time. With git now being the de-facto standard VCS, it was finally time to convert my last remaining subversion repositories … Continue reading

The post Convert Subversion repository into git repositories appeared first on Experiencing Technology.

]]>
Rewrite author of entire git repository https://blog.tinned-software.net/rewrite-author-of-entire-git-repository/ Mon, 12 Nov 2018 19:54:48 +0000 https://blog.tinned-software.net/?p=2584 In git repositories, commit messages contain a person’s email address as an identifier for the user. If the email address used to commit is wrong, you might not want it to be shown in the git repository anymore. In general … Continue reading

The post Rewrite author of entire git repository appeared first on Experiencing Technology.

]]>
Remove files from git history https://blog.tinned-software.net/remove-files-from-git-history/ Mon, 20 Aug 2018 15:23:23 +0000 https://blog.tinned-software.net/?p=2578 When a repository contains files which should have never been committed, it is hard to remove them from the history as git is built to keep a history, not to change it. The following procedure will explain the procedure to … Continue reading

The post Remove files from git history appeared first on Experiencing Technology.

]]>
Create and merge git branches https://blog.tinned-software.net/create-and-merge-git-branches/ Mon, 28 May 2018 19:13:23 +0000 https://blog.tinned-software.net/?p=2520 Following the philisophy of git, branching is an essential and much used part of the development procedure. When a new feature is developed or a bigger change is to be implemented, a branch is created to work on and later … Continue reading

The post Create and merge git branches appeared first on Experiencing Technology.

]]>
Recompress git repository https://blog.tinned-software.net/recompress-git-repository/ Mon, 16 May 2016 08:13:45 +0000 http://blog.tinned-software.net/?p=2076 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

The post Recompress git repository appeared first on Experiencing Technology.

]]>
Setup gitolite to manage git repositories https://blog.tinned-software.net/setup-gitolite-to-manage-git-repositories/ Mon, 04 Jan 2016 17:56:30 +0000 http://blog.tinned-software.net/?p=2018 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

The post Setup gitolite to manage git repositories appeared first on Experiencing Technology.

]]>
Gitosis Arguments to command look dangerous https://blog.tinned-software.net/gitosis-arguments-to-command-look-dangerous/ Mon, 23 Nov 2015 17:54:14 +0000 http://blog.tinned-software.net/?p=2014 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

The post Gitosis Arguments to command look dangerous appeared first on Experiencing Technology.

]]>
Gitosis Unsafe SSH username in keyfile https://blog.tinned-software.net/gitosis-unsafe-ssh-username-in-keyfile/ Mon, 12 Oct 2015 17:39:37 +0000 http://blog.tinned-software.net/?p=2010 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

The post Gitosis Unsafe SSH username in keyfile appeared first on Experiencing Technology.

]]>
Git repository cluster setup – Part 2 https://blog.tinned-software.net/git-repository-cluster-setup-part-2/ Mon, 31 Aug 2015 22:43:42 +0000 http://blog.tinned-software.net/?p=1464 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

The post Git repository cluster setup – Part 2 appeared first on Experiencing Technology.

]]>
Keep track of Linux configuration changes with etckeeper https://blog.tinned-software.net/keep-track-of-linux-configuration-changes-with-etckeeper/ Mon, 06 Jul 2015 17:16:59 +0000 http://blog.tinned-software.net/?p=1761 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

The post Keep track of Linux configuration changes with etckeeper appeared first on Experiencing Technology.

]]>
Git repository cluster setup https://blog.tinned-software.net/git-repository-cluster-setup/ Mon, 16 Mar 2015 18:45:21 +0000 http://blog.tinned-software.net/?p=1334 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

The post Git repository cluster setup appeared first on Experiencing Technology.

]]>
Setup gitosis to manage git repositories https://blog.tinned-software.net/setup-gitosis-to-manage-git-repositories/ Thu, 22 Jan 2015 16:00:51 +0000 http://blog.tinned-software.net/?p=1385 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

The post Setup gitosis to manage git repositories appeared first on Experiencing Technology.

]]>
Merge two SVN repositories https://blog.tinned-software.net/merge-two-svn-repositories/ Thu, 19 Sep 2013 17:29:28 +0000 http://blog.tinned-software.net/?p=661 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

The post Merge two SVN repositories appeared first on Experiencing Technology.

]]>
Subversion via ssh using authorized_keys https://blog.tinned-software.net/subversion-via-ssh-using-authorized_keys/ Tue, 03 Sep 2013 22:03:19 +0000 http://blog.tinned-software.net/?p=723 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

The post Subversion via ssh using authorized_keys appeared first on Experiencing Technology.

]]>
Change author of SVN commit https://blog.tinned-software.net/change-author-of-last-svn-commit/ Tue, 11 Jun 2013 17:40:59 +0000 http://blog.tinned-software.net/?p=703 What can you do when you have for some reason the wrong author in your SVN commit? This is something that should never happen you might think. But what if it happened? Let me tell you, there is a solution. Continue reading

The post Change author of SVN commit appeared first on Experiencing Technology.

]]>
Splitting up an SVN repository https://blog.tinned-software.net/splitting-up-an-svn-repository/ Fri, 10 May 2013 17:30:17 +0000 http://blog.tinned-software.net/?p=652 When I was creating my SVN repository I was lazy and created just one repository for all my projects. This was easy to administrate and to use; only one repository to configure with user names and passwords, only one URL to remember, ... How to split it up now? Continue reading

The post Splitting up an SVN repository appeared first on Experiencing Technology.

]]>