Categories
- Database (7)
- DNS (5)
- Encryption (8)
- Linux Administration (78)
- MacOSX (9)
- Mailserver (11)
- Monitoring (3)
- Multimedia (2)
- Photo (1)
- PHP (7)
- Rescue (4)
- Review (5)
- Security (37)
- Storage (1)
- Uncategorized (1)
- Version control system (16)
- Virtualisation (4)
- Web technologies (8)
- Wordpress (1)
Social Profiles
Facebook
Github
Twitter
Linkedin
Xing
Gravatar
Stackoverflow
Mastodon-
Tag Archives: git
Git and multiple remotes
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
Convert Subversion repository into git repositories
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
Posted in Version control system
Tagged git, Subversion
Comments Off on Convert Subversion repository into git repositories
Rewrite author of entire git repository
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
Posted in Version control system
Tagged env-filter, filter-branch, for-each-ref, git, reflog
Comments Off on Rewrite author of entire git repository
Remove files from git history
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
Posted in Version control system
Tagged filter-branch, for-each-ref, git, index-filter, reflog
Comments Off on Remove files from git history
Create and merge git branches
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
Posted in Version control system
Tagged branch, git, merge
Comments Off on Create and merge git branches
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
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 git, gitolite
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 git, gitosis, SSH
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 git, gitosis, SSH
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 cluster, git, gitosis, master-master, Replication
Comments Off on Git repository cluster setup – Part 2