Compare commits

...

11 Commits

Author SHA1 Message Date
alihamuh
086d5544b9 docs: addd assets for merge conflict help file 2024-08-23 18:09:59 +05:00
alihamuh
5e000953c7 docs: added merge-conflicts file 2024-08-23 16:39:52 +05:00
Abdullah Atta
dfc5d7ae49 docs(help): update merge conflicts 2024-08-23 12:13:18 +05:00
Muhammad Ali
f5163f32d8 Update merge-conflicts.md
Signed-off-by: Muhammad Ali <alihamuh@gmail.com>
2024-08-22 14:37:14 +05:00
Muhammad Ali
93628129a4 Update merge-conflicts.md
Signed-off-by: Muhammad Ali <alihamuh@gmail.com>
2024-08-22 14:12:17 +05:00
Muhammad Ali
297914b1ee Update merge-conflicts.md
Signed-off-by: Muhammad Ali <alihamuh@gmail.com>
2024-08-21 18:05:26 +05:00
Muhammad Ali
50d6bdd316 Update merge-conflicts.md
Signed-off-by: Muhammad Ali <alihamuh@gmail.com>
2024-08-21 18:03:58 +05:00
Muhammad Ali
9df1484ef0 Update merge-conflicts.md
Signed-off-by: Muhammad Ali <alihamuh@gmail.com>
2024-08-21 13:23:21 +05:00
Muhammad Ali
6a2039789f Update merge-conflicts.md
Signed-off-by: Muhammad Ali <alihamuh@gmail.com>
2024-08-21 04:33:31 +05:00
Muhammad Ali
ca72f5b7cf Update merge-conflicts.md
Signed-off-by: Muhammad Ali <alihamuh@gmail.com>
2024-08-21 04:26:46 +05:00
Muhammad Ali
e0643d08c5 Update merge-conflicts.md
edited merge conflict file

Signed-off-by: Muhammad Ali <alihamuh@gmail.com>
2024-08-20 15:02:24 +05:00
6 changed files with 57 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

View File

@@ -1,9 +1,63 @@
---
title: Merge Conflicts
description: Merge conflicts occur when there are conflicting note edits on different devices for the same note.
---
# Merge Conflicts
Merge conflicts occur when there are conflicting note edits on your devices for the same note.
## Why Merge Conflicts occur?
Lets suppose that you have two devices running Notesnook: 1. a desktop and 2. a mobile. Suppose that one of your devices is offline (in this case your mobile phone). Now if you make edits to the same note on both your devices and then synched them both a merge conflict will occur.
Merge conflicts occur when there are conflicting note edits on different devices for the same note.
## How Merge Conflicts occur?
Lets suppose that you have two devices running Notesnook:
1. A desktop
2. A mobile device
Suppose that one of your devices is offline. Now if you made edits to one of your (same)notes on both your devices and **synched changes** a merge conflict will occur.
> info
>
> In order for a merge conflict to occur the changes on the (same)note on both devices should occur in more than a minute
## Where do Merge conflicts show
The conflicted notes appear at the very top of the notes list. Just navigate to the Notes page and you will see them right away (If there are any).
## How to Resolve Merge Conflicts
# [Desktop/Web](#/tab/web)
Follow these steps to resolve a Merge Conflict:
1. Go to the conflicted note. It appears at the top of your note list.
2. Open the note. This will take you to a conflict resolution screen.
3. On the conflict resolution screen two versions of your note will appear side by side. One will be from the device you are using (Current Note) and one will be from the server(Incomming Note).
![](/merge-conflicts-1.png)
4. Go through both versions and choose which one you want to keep.
5. Press the Keep button on the note you want to keep.
6. Press Discard button on the note you don't want to keep (you can also press the Save a Copy button if you want to keep it too).
![](/merge-conflicts-2.png)
# [Mobile](#/tab/mobile)
Follow these steps to resolve a Merge Conflict:
1. Go to the conflicted note. It appears at the top of your note list.
2. Open the note. This will take you to a conflict resolution screen.
3. On the Coflict Resolution Screen 2 versions of your note will appear above and below. One will be from the device you are using (Current Note) and one will be from the server(Incomming Note).
<img src="/merge-conflicts-mobile-1.png" alt="drawing" width="414" style="text-align:center"/>
4. Go through both versions and choose which one you want to keep.
5. Press the Keep button on the note you want to keep.
6. And Discard button on the note you don't want to keep (you can also press the Save a Copy button if you want to keep it too).
<img src="/merge-conflicts-mobile-2.png" alt="drawing" width="414"/>
---

View File

@@ -79,3 +79,4 @@ navigation:
- path: custom-themes/create-a-theme-with-theme-builder.md
- path: custom-themes/install-a-theme-from-file.md
- path: custom-themes/publish-a-theme.md
- path: merge-conflicts.md