You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/refguide/version-control/on-premises-git.md
+21-31Lines changed: 21 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -148,9 +148,7 @@ For the previous checkout method do the following:
148
148
1. Open from previous checkout.
149
149
2. Enable the **Private server** radio button and enter the link to the repository.
150
150
3. Click **Connect**.
151
-
4. If you have checked out the app at least once, you can then pick one of the existing locations on disk and the app will open (shown here with two previous checkouts):
4. If you have checked out the app at least once, you can then pick one of the existing locations on disk and the app will open.
154
152
155
153
For the previous local disk method do the following:
156
154
@@ -169,25 +167,31 @@ The repository has to be completely empty (this includes the `README.md` and `.g
169
167
170
168
To upload your app, do the following:
171
169
172
-
1. Open the app in Studio Pro and go to **Version Control > Upload to Version Control Server**:
173
-
174
-
{{< figure src="/attachments/refguide/version-control/on-premises-git/upload-to-vc-menu.png" alt="Upload to Version Control Server Menu" class="no-border" >}}
175
-
170
+
1. Open the app in Studio Pro and go to **Version Control > Upload to Version Control Server**.
176
171
2. In the **Upload to Version Control Server** dialog box, select **Private server**.
177
-
3. Select **Git** as the private server type (if you have both **Subversion** and **Git** enabled in the **Preferences Form**).
178
-
4. Enter the link to the repository you want to upload this app to and click **OK**:
172
+
3. Enter the link to the repository you want to upload this app to and click **OK**:
179
173
180
174
{{< figure src="/attachments/refguide/version-control/on-premises-git/upload-to-vc-server.png" alt="Upload to Version Control Server dialog" class="no-border" >}}
181
175
It might ask you to sign into the server, depending on whether you have previously signed in and choose to stay logged in.
182
-
5. You can see the upload process in the **Upload Project to Team Server** pop-up window.
176
+
4. You can see the upload process in the **Upload Project to Team Server** pop-up window.
183
177
184
178
The app is uploaded successfully. You can check on your private server and see that the app is now on the selected repository:
### Moving an Existing Versioned App to Private Git
183
+
184
+
If you already have an existing versioned app that you would like to upload to your Git private server instead, you can fully migrate the history or start with a fresh repository.
185
+
186
+
#### Retaining History
187
+
188
+
To migrate from on Git server to another private Git server, follow your Git provider's documentation for uploading a full repository clone to their platform.
189
+
190
+
After migration, download a fresh clone in Studio Pro from your private Git server.
191
+
192
+
{{% alert color="warning" %}} If you are migrating from Mendix Team Server, make sure you remove the `sprintr-project-id` setting to prevent errors in Studio Pro when redirecting an existing clone by updating the `config` file in the `.git` folder. {{% /alert %}}
189
193
190
-
If you already have an existing versioned app (with Subversion) that you would like to upload to your Git private server instead, you can export it, then re-import it, and uploading it to your server.
194
+
#### Starting with a Fresh Repository
191
195
192
196
{{% alert color="info" %}}
193
197
This creates an unversioned app, based on the branch you are working on in Studio Pro. This means that you will not get version history or other branches in the Git repo.
4. Now you can import the package again, and from there you can choose to upload it to your Git private server. Go to **File** > **Import App Package**:
3. The **Progress** pop-up window appears, and once it is completed, you can close the app in **Studio Pro**.
212
210
211
+
4. Now you can import the package again, and from there you can choose to upload it to your Git private server. Go to **File** > **Import App Package**.
213
212
5. Once the file browser dialog box is open, navigate to the location you save the *.mpk* file during the export process.
214
213
6. In the **Import App Package** dialog box, select **Private server** option in the **Where should we store your App?** section.
215
-
7. In the **Private Server Type** option, select **Git** (if you have both **Subversion** and **Git** enabled in the **Preferences** form).
216
-
8. Enter the link to the private repository in the address textbox and click **OK**. Remember, the repository **must be completely empty**, or **Studio Pro** will not be able to upload an app to it:
214
+
7. Enter the link to the private repository in the address textbox and click **OK**. Remember, the repository **must be completely empty**, or **Studio Pro** will not be able to upload an app to it:
After the import process is completed, your previous Subversion app will be now versioned using Git.
220
+
After the import process is completed, your previously version controlled app will be now versioned using Private Git.
223
221
224
222
Note that your previous app still exists, **Studio Pro** will simply make an unversioned copy and upload it to your private Git server. So, in your **Recent Apps** list, you will still see both:
### Moving from Team Server to a Private Git Server
229
-
230
-
To migrate from Mendix Team Server to a private Git server, follow your Git provider's documentation for uploading a full repository clone to their platform.
231
-
232
-
After migration, download a fresh clone in Studio Pro from your private Git server.
233
-
234
-
{{% alert color="warning" %}} When redirecting an existing clone by updating the `config` file in the `.git` folder, make sure you remove the `sprintr-project-id` setting to prevent errors in Studio Pro. {{% /alert %}}
235
-
236
226
## Read More
237
227
238
228
*[Version Control Reference Guide](/refguide/version-control/)
Copy file name to clipboardExpand all lines: content/en/docs/refguide10/version-control/on-premises-git.md
+21-31Lines changed: 21 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -149,9 +149,7 @@ For the previous checkout method do the following:
149
149
1. Open from previous checkout.
150
150
2. Enable the **Private server** radio button and enter the link to the repository.
151
151
3. Click **Connect**.
152
-
4. If you have checked out the app at least once, you can then pick one of the existing locations on disk and the app will open (shown here with two previous checkouts):
4. If you have checked out the app at least once, you can then pick one of the existing locations on disk and the app will open.
155
153
156
154
For the previous local disk method do the following:
157
155
@@ -170,25 +168,31 @@ The repository has to be completely empty (this includes the `README.md` and `.g
170
168
171
169
To upload your app, do the following:
172
170
173
-
1. Open the app in Studio Pro and go to **Version Control > Upload to Version Control Server**:
174
-
175
-
{{< figure src="/attachments/refguide10/version-control/on-premises-git/upload-to-vc-menu.png" alt="Upload to Version Control Server Menu" class="no-border" >}}
176
-
171
+
1. Open the app in Studio Pro and go to **Version Control > Upload to Version Control Server**.
177
172
2. In the **Upload to Version Control Server** dialog box, select **Private server**.
178
-
3. Select **Git** as the private server type (if you have both **Subversion** and **Git** enabled in the **Preferences Form**).
179
-
4. Enter the link to the repository you want to upload this app to and click **OK**:
173
+
3. Enter the link to the repository you want to upload this app to and click **OK**:
180
174
181
175
{{< figure src="/attachments/refguide10/version-control/on-premises-git/upload-to-vc-server.png" alt="Upload to Version Control Server dialog" class="no-border" >}}
182
176
It might ask you to sign into the server, depending on whether you have previously signed in and choose to stay logged in.
183
-
5. You can see the upload process in the **Upload Project to Team Server** pop-up window.
177
+
4. You can see the upload process in the **Upload Project to Team Server** pop-up window.
184
178
185
179
The app is uploaded successfully. You can check on your private server and see that the app is now on the selected repository:
### Moving an Existing Versioned App to Private Git
184
+
185
+
If you already have an existing versioned app that you would like to upload to your Git private server instead, you can fully migrate the history or start with a fresh repository.
186
+
187
+
#### Retaining History
188
+
189
+
To migrate from on Git server to another private Git server, follow your Git provider's documentation for uploading a full repository clone to their platform.
190
+
191
+
After migration, download a fresh clone in Studio Pro from your private Git server.
192
+
193
+
{{% alert color="warning" %}} If you are migrating from Mendix Team Server, make sure you remove the `sprintr-project-id` setting to prevent errors in Studio Pro when redirecting an existing clone by updating the `config` file in the `.git` folder. {{% /alert %}}
190
194
191
-
If you already have an existing versioned app (with Subversion) that you would like to upload to your Git private server instead, you can export it, then re-import it, and uploading it to your server.
195
+
#### Starting with a Fresh Repository
192
196
193
197
{{% alert color="info" %}}
194
198
This creates an unversioned app, based on the branch you are working on in Studio Pro. This means that you will not get version history or other branches in the Git repo.
4. Now you can import the package again, and from there you can choose to upload it to your Git private server. Go to **File** > **Import App Package**:
3. The **Progress** pop-up window appears, and once it is completed, you can close the app in **Studio Pro**.
213
211
212
+
4. Now you can import the package again, and from there you can choose to upload it to your Git private server. Go to **File** > **Import App Package**.
214
213
5. Once the file browser dialog box is open, navigate to the location you save the *.mpk* file during the export process.
215
214
6. In the **Import App Package** dialog box, select **Private server** option in the **Where should we store your App?** section.
216
-
7. In the **Private Server Type** option, select **Git** (if you have both **Subversion** and **Git** enabled in the **Preferences** form).
217
-
8. Enter the link to the private repository in the address textbox and click **OK**. Remember, the repository **must be completely empty**, or **Studio Pro** will not be able to upload an app to it:
215
+
7. Enter the link to the private repository in the address textbox and click **OK**. Remember, the repository **must be completely empty**, or **Studio Pro** will not be able to upload an app to it:
After the import process is completed, your previous Subversion app will be now versioned using Git.
221
+
After the import process is completed, your previously version controlled app will be now versioned using Private Git.
224
222
225
223
Note that your previous app still exists, **Studio Pro** will simply make an unversioned copy and upload it to your private Git server. So, in your **Recent Apps** list, you will still see both:
### Moving from Team Server to a Private Git Server
230
-
231
-
To migrate from Mendix Team Server to a private Git server, follow your Git provider's documentation for uploading a full repository clone to their platform.
232
-
233
-
After migration, download a fresh clone in Studio Pro from your private Git server.
234
-
235
-
{{% alert color="warning" %}} When redirecting an existing clone by updating the `config` file in the `.git` folder, make sure you remove the `sprintr-project-id` setting to prevent errors in Studio Pro. {{% /alert %}}
236
-
237
227
## Read More
238
228
239
229
*[Version Control Reference Guide](/refguide10/version-control/)
0 commit comments