|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd"> |
| 3 | +<topic id="topic_vkq_4dv_v2c"> |
| 4 | + <title>Editing Session with Oxygen Content Fusion</title> |
| 5 | + <body> |
| 6 | + <p>You can use the <xref |
| 7 | + href="https://www.oxygenxml.com/content_fusion/content_fusion_authoring.html" |
| 8 | + format="html" scope="external">Oxygen Content Fusion authoring features</xref> to |
| 9 | + create content in your Git repository.</p> |
| 10 | + <p>Here is your usual editing workflow to edit content on a Git branch:</p> |
| 11 | + <p> |
| 12 | + <ul id="ul_qw2_whv_v2c"> |
| 13 | + <li>Open the workspace for that branch</li> |
| 14 | + <li>Synchronize the workspace</li> |
| 15 | + <li>Edit</li> |
| 16 | + <li>Pull incoming commits</li> |
| 17 | + <li>(Optional) Validate</li> |
| 18 | + <li>Commit</li> |
| 19 | + </ul> |
| 20 | + </p> |
| 21 | + <p>I will detail each step below.</p> |
| 22 | + <section id="section_kr4_jjv_v2c"> |
| 23 | + <title>Open the workspace</title> |
| 24 | + <p>Content Fusion allows you to create a workspace for each Git branch. The workspace is |
| 25 | + lightweight meaning that it is created instantly and with minimal resource overhead. |
| 26 | + To open it, select the branch and click the <uicontrol>Edit in workspace</uicontrol> |
| 27 | + button.</p> |
| 28 | + <p><image href="images/cf-edit-in-workspace.png" id="image_gh2_wjv_v2c" width="300px" |
| 29 | + /></p> |
| 30 | + </section> |
| 31 | + <section id="section_n2y_wjv_v2c"> |
| 32 | + <title>Synchronize the workspace</title> |
| 33 | + <p>In most cases, your workspace is updated automatically when you open it. However, if |
| 34 | + your workspace has some stale changes (maybe from an old abandoned edit), you will |
| 35 | + have to manually synchronize it. You have two tools:</p> |
| 36 | + <p> |
| 37 | + <ol id="ol_xpz_5mv_v2c"> |
| 38 | + <li>Use the <uicontrol>Discard all changes</uicontrol> action from the |
| 39 | + <uicontrol>Changes</uicontrol> side view if the existing changes are not |
| 40 | + relevant anymore:<p><image href="images/discard-all-action.png" |
| 41 | + id="image_p25_bnv_v2c" width="300px"/></p></li> |
| 42 | + <li><uicontrol>Pull</uicontrol> the incoming commits. This lets you bring in |
| 43 | + your workspace commits made by your collaborators.<p><image |
| 44 | + href="images/cf-pull-incomming-commits.png" id="image_v12_5nv_v2c" |
| 45 | + width="300px"/></p></li> |
| 46 | + </ol> |
| 47 | + </p> |
| 48 | + </section> |
| 49 | + <section id="section_erd_nnv_v2c"> |
| 50 | + <title>Edit</title> |
| 51 | + <p>Use the workspace tools to work on your content. </p> |
| 52 | + </section> |
| 53 | + <section id="section_ljh_qnv_v2c"> |
| 54 | + <title>Pull incoming commits</title> |
| 55 | + <p>While you were editing, your collaborators pushed some commits. Before you can commit |
| 56 | + your changes, you have to integrate theirs first. In rare cases, you might run into |
| 57 | + merge conflicts. To help you solve them, <xref |
| 58 | + href="https://www.oxygenxml.com/doc/versions/8.0/ug-content-fusion/topics/cf-projects-workspace-conflict-resolution.html" |
| 59 | + format="html" scope="external">Content Fusion has a dedicated merge |
| 60 | + tool</xref>:</p> |
| 61 | + <p><image href="images/merge-pull-incoming-commits-conflicts.png" id="image_wmf_g4v_v2c" |
| 62 | + width="300px"/></p> |
| 63 | + </section> |
| 64 | + <section id="section_lqg_k4v_v2c"> |
| 65 | + <title>Validate</title> |
| 66 | + <p>Use the <uicontrol>Problems</uicontrol> view to check if your changes introduce any |
| 67 | + validation problem or a broken link</p> |
| 68 | + <p><image href="images/cf-problems-view.png" id="image_xz2_r4v_v2c" width="300px"/></p> |
| 69 | + </section> |
| 70 | + <section id="section_rms_34v_v2c"> |
| 71 | + <title>Commit</title> |
| 72 | + <p>To make your changes available in the Git repository, you have to |
| 73 | + <uicontrol>Commit</uicontrol> them. Make sure to provide a descriptive commit |
| 74 | + message.</p> |
| 75 | + <p> |
| 76 | + <note id="note_dm1_w4v_v2c">In Content Fusion, when you commit changes from your |
| 77 | + workspace they are immediately available on the underlying branch.</note> |
| 78 | + </p> |
| 79 | + </section> |
| 80 | + </body> |
| 81 | +</topic> |
0 commit comments