git Archives - Experiencing Technology https://blog.tinned-software.net/tag/git/ Tinned-Software Blog Mon, 13 Feb 2023 23:09:29 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.3 Git and multiple remotes https://blog.tinned-software.net/git-and-multiple-remotes/ Mon, 13 Feb 2023 23:05:06 +0000 https://blog.tinned-software.net/?p=2922 Git is the de-facto standard version control system nowadays. It enables developers not only to version their code but also push repositories to a central server. Sometimes it makes sense to push it to more than one remote server. Add … Continue reading

The post Git and multiple remotes appeared first on Experiencing Technology.

]]>
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.

]]>