Lessons to learn
Two very intersting post-mortems about the trouble with git.kde.org from last weekend and what you could learn about backing up Git repositories.
Too Perfect A Mirror - Me, my blog, and my Johnson
How KDE's 1500-repository Git system was nearly destroyed, and how we're preventing it from happening again.
"Screw The Mirrors" - Me, my blog, and my Johnson
Backing up huge numbers of Git repositories isn't as simple as you might think. Here's why.
Tobias likes this.
How to ignore local changes in Git
This is a really nice solution that I was looking for. I use this to make configuration file changes on my staging system without the need to ignore the whole config file.
Add your config file in .git/info/exclude and then use git's update-index:
$ git update-index --assume-unchanged path/to/fileÂ
For a better explanation take a look at this blog article:
Ignoring local changes with Git
If you have configuration files or any other files in the local repository that you would like to keep as they are without the danger of adding them by mistake in a commit, you can specify that using the local git exclude file and update-index....
This website is tracked using the Matomo analytics tool. If you do not want that your visits are logged in this way you can set a cookie to prevent Matomo / Piwik from tracking further visits of the site (opt-out).
Simon L'nu
in reply to Klaus Weidenbach • •