Git LFS: Why and how to use?

Although Git is well known as Version Control System nowadays, the usage of Git LFS (Large File Storage) is often unknown to Git users. In this post I will try to explain why and when Git LFS should be used and how to use it. The source code of this post can be found at GitHub.

Continue reading “Git LFS: Why and how to use?”

How to version your software?

I often receive questions about software versioning. Although it seems something trivial and simple, when people start thinking about it, several questions pop up: How can we uniquely identify our software? Which versioning scheme should we use for our software? Which version of the software is delivered to our test or production system? … With this post I hope to give some answers to these questions and provide some of the choices you have.

Continue reading “How to version your software?”

Maven git commit id plugin

Did you ever had the problem that you did not know which version of your application was deployed on e.g. a test environment? Or you had to manually adapt version information for each release in order to make it available in an About-dialog? Then the Maven git commit id plugin comes to the rescue! In this post, we will build a Spring Boot application with a RESTful webservice for retrieving versioning information. The only thing we will have to do, is to configure theĀ Maven git commit id plugin and create the webservice. After this, versioning information is automatically updated during each build!

Continue reading “Maven git commit id plugin”

Combine git repositories

Sometimes, you make a mistake and you start with a lot of git repositories that actually belong to each other and are dependent of each other. You are stuck with these git repositories and you want to combine them into one git repository. But, you don’t want to lose your git history. I suggest, in order to avoid these problems, to start with one git repository when you do not have good reasons to split an application into more repositories. It is easier to split repositories than to combine them and working with one git repository makes the administration a lot easier. However, if you are stuck with too many repositories and want to get rid of them, the guide below will help you. Continue reading “Combine git repositories”

Connect with git repository in Android Studio

In this post I will explain how you can get started with Android Studio 2.3.3 from an existing git repository. As git hosting platform, I am using gitlab.com, but it will be the same procedure to follow from any other git hosting (or local) platform. Continue reading “Connect with git repository in Android Studio”