Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
Preparing the files - Let's say you have these folders from your backup
In each version folder, perform a git branch . In each folder version (n) folder, it should contain the next version (n+1).
In the example below, we can see that folder version 1 contains version 2 when we execute git branch command.
Code Block |
---|
C:\Joget-DX8-Enterprise\wflow\app_src\supportTicket\supportTicket_1>git branch help master * supportTicket_1 supportTicket_2 |
English |
---|
For example, in supportTicket_2, it does not contain version 3 somehow. |
Code Block |
---|
C:\Joget-DX8-Enterprise\wflow\app_src\supportTicket\supportTicket_2>git branch master * supportTicket_2 |
We can run git branch supportTicket_3 to create the branch.
Code Block |
---|
C:\Joget-DX8-Enterprise\wflow\app_src\supportTicket\supportTicket_2>git branch supportTicket_3 C:\Joget-DX8-Enterprise\wflow\app_src\supportTicket\supportTicket_2>git branch master * supportTicket_2 supportTicket_3 |
Copy them into your working wflow folder.
Omit wflow/app_src/supportTicket/app.properties from the backup to prevent potential conflicts such as with existing remote GIT server and so on.
Click Version, you should see the next version shows up, version 2. Choose the version and click view. It will perform the same sync from GIT too.
Remember, folder version n must contain n+1 branch for this to work. Use "git branch appId_n+1" command to create the branch if needed to as highlighted in step 1 earlier.
...
Make use of GIT, and perform a GIT reset.
Code Block |
---|
C:\Joget-DX8-Enterprise\wflow\app_src\supportTicket\supportTicket_3>git reset e87ec85 Unstaged changes after reset: M appConfig.xml M appDefinition.xml C:\Joget-DX8-Enterprise\wflow\app_src\supportTicket\supportTicket_3>git status On branch supportTicket_3 Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: appConfig.xml modified: appDefinition.xml |
If you are using Github Desktop, you can right-click on e87ec85 and choose "Revert Changes in Commit".
Verify the changes, resolve the conflicts if necessary, and commit the unstaged files. If you are using Github Desktop, you can inspect them in "Changes" tab, resolve the conflicts if necessary, and commit the unstaged files.