Creating git repository for your app
Learn how to start controlling the version of your application in Qlik Sense with Gitoqlok and make partial commits.
To create a repository you need to open your Qlik Sense application and go to the Gitoqlok.
Gitoqlok popup window
Specify the repository name and make the first commit. Each commit must have a comment (a short description of your part of the work that you are going to save in the repository)
Gitoqlok links the repository with the application in Qlik Sense by application ID. You could see that in the description of a repository.
You could commit the load script and app objects.
As an app owner, Gitoqlok allows you to choose what to commit to the git repository.
Suppose you have created a repository for your app on a git server. Your application is connected to the git repo, and up to that point, the latter includes only the README.md file:
After you click on “Save Changes” to make commits, there are two options Gitoqlok allows you to commit: Load Script and App Objects. Reload Data Connections is an optional choice that lets your data connections stay updated.
What commit includes
Select specific objects to commit
Suppose you are selecting to commit the "Load Script"
Committing load script
Proceeding to check your connected GitHub repository yields the following results: apart from the default REAMDE.md file, "data load script" and "loadScript.qvs" files, containing your committed load script are now uploaded.
GitHub repository contains load script now
If, on top of this, you tick "App Objects", several additional files are also uploaded on your GitHub repo:
App Objects are committed on top of the Load Script
GitHub repository contains load script and app objects