In this blog post, I'd like to describe my experience with the migration of repositories from GitHub to Codeberg. The migration is still in progress, so I will update this blog post, when I will have a new lesson learned. Starting Point As I described in my previous post, I have three use cases for using GitHub: …
Read MoreAfter Microsoft bought GitHub, I made my thoughts on whether it is good to host source code on GitHub. Many features of Github are for free. Free in this context means you don't pay money for the features but with something else. Something else seems to be our data. As we learned, it was used to train Co-Pilot. To be …
Read MoreSometimes you have to work on different projects that are hosted on different Git management systems (GitHub, Gitlab, BitBucket, Gitea). The classical scenario is that you work on open source projects that are hosted on GitHub and on enterprise projects that are hosted on an own Git management system. These projects …
Read MoreIf you introduce code formatting rules retroactively, you have to solve the problem how to format existing code base according to the new formatting rules. You could checkout every code repository one by one in your IDE and click on Autoformat the whole project. But this is boring and waste of time. Fortunately, …
Read MoreWhen I start a new Git repository, I lose a lot of time to set up my .gitignore file and normally, I don't match everything on the first shoot. Fortunately, there exists some tools, that help to bootstrapping it. I'd like to show two of them. One is a website that can be used on the command line and the another is a …
Read MoreI usually work on different Git projects that need different Git identities. My work flow for new repositories was Clone new repository. Go to cloned repository. If it is necessary to change the Git identity, call a shell script that runs git config user.name "Sandra Parsick"; git config user.email sparsick@web.de I …
Read MoreI like to work with git on the command line. But in some cases I prefer UI support. For example, solving merge conflicts is such a case. Git has a command mergetool, which can open a graphical tool to solve merge conflicts. But before you can use this command, you had to configure it. In this blog post I'd like to show …
Read MoreIn this post I'd like to share resources that help me learning and understanding Git. Links "Getting Git Right" tutorials Interactive Git Cheatsheet git ready Collection of tips based on use cases. Article "Git ist einfach – wenn man weiß, wie" (in German) This article describes how the data model of Git works. …
Read More