Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge conflicts #39

Merged
merged 15 commits into from
Mar 8, 2021
Merged

Merge conflicts #39

merged 15 commits into from
Mar 8, 2021

Conversation

SuDa2103
Copy link
Contributor

@SuDa2103 SuDa2103 commented Mar 5, 2021

No description provided.

@github-actions
Copy link

github-actions bot commented Mar 5, 2021

Visit the preview URL for this PR (updated for commit c3f529d):

https://gitlive-docs--pr39-merge-conflicts-imz53af9.web.app

(expires Mon, 15 Mar 2021 13:08:42 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

### Gutter indicators for teammate’s changes
GitLive adds gutter indicators to show you where your teammate’s have made changes to the file you have open, these update in real-time as you and your teammates are editing.

Insertions are represented by a green arrow, modifications are denoted by a blue line and deletions by a grey line.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deletions in red is that right? i thought conflicts are red?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think your right maybe crop of the lower part of the screenshot as the bottom red indicator is a conflict. so that they are not confused

![Android Studio Gutter](/uploads/android-studio-gutter-teammate.jpeg "Android Studio Gutter"){:class="screenshot"}

### Conflict Indicators
If your teammate’s changes are conflicting with your local changes, they are accompanied by the bright red conflict indicator. These conflicts can be uncommitted local changes you have not pushed yet or existing changes on your branch which are conflicting with their branch and/or uncommitted changes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These conflicts can be uncommitted local changes you have not pushed yet or existing changes on your branch which that conflict with your teammates' changes.


![VSCode Red Gutter](/uploads/vscode-red-gutter.jpg "VSCode Red Gutter"){:class="screenshot"}


### Review your teammates’ changes
Once a line change indicator appears in the gutter, hovering over the affected line launches a popup which shows your teammates changes on the concerned lines, the connected issue they are working on and the code they have added.
Once a line change indicator appears in the gutter, hovering over the affected line launches a popup which shows your teammates changes on the concerned lines, the connected issue they are working on and the code they have added. You can still access other VS Code functionality that is available while hovering, such as IntelliSense. It will appear at the bottom of the popup.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works very much the same way then Intellisense, the popup will now show the usual parameter information as well as your teammates changes

@FredCoen FredCoen merged commit d6aff04 into master Mar 8, 2021
@nbransby nbransby deleted the merge-conflicts branch September 11, 2022 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants