This article will teach you how to use Git when you want to deploy your application. While there are many ways to use Git to deploy our application, this tutorial will focus on the one that is most straightforward. I assume you already know how to create and use a repository on your local machine.
I was following the tutorial to setup a Git server on Raspberry Pi1. Then I continued to setup automatic deployment with Git from above article 2.
The setup was going well, until I tried to commit new changes and then pushed it to the Pi server. I got a bunch of errors produced by
post-receive hook script, similar like these:
remote: error: unable to unlink old 'filename' (Permission denied)
Continue reading “Resolving Git hooks error: unable to unlink old ‘filename’ (permission denied)”
For an introduction to Git and how to install, please refer to the introduction tutorial.
This article will teach you how to use Git when you want to deploy your application. While there are many ways to use Git to deploy our application,
melalui How To Set Up Automatic Deployment with Git with a VPS | DigitalOcean.
While making an app it is really important to keep accurate track of the versions. Usually such a tracking is implemented via tags in version control system like git. It’s also a good idea to keep in mind semantic versioning when assigning version to your code.
But tagging your code with the right version number is only the first step. You also need to show version to the user and in some cases the system.
This –reblogged– post was actually drafted by the end of last year. I developed an open source Qt project then, namely Alldeb Installer and I wanted it to have the Git versioning to be used as part of the app’s version number.
via App Version from Git Tag in Qt / QML | Everything Frontend.