简体   繁体   中英

Resolving conflicts in SmartGit - Finding conflicting files

I have done a rebase in SmartGit. My respository is marked with a red < rebasing > in SmartGit

If I try to make any new commits I get the message:

Rebase: You must edit all merge conflicts and then mark them as resolved using git add.

This is what my working tree looks like:

在此处输入图片说明

I would like to resolve the merge conflicts but I am not familiar enough with git or SmartGit to know how to do this. I wish to invoke Query|Conflict Solver on the conflicted files but my problem is that I cannot find the conflicting files and the documentation does not show how to do this. They refer to the "Directories"-pane which I cannot find, though it seems to be similar to the "Respositories"-pane. How do I find and resolve the conflicting files?

Thanks in advance

If you check your Smartgit main window, you will see some of your files are like this:

smartgit冲突

You should double click on the conflicted files and the conflict resolver will open:

在此处输入图片说明

The next step is to merge two versions of the file (left and right windows) to one file (center window)

it appears we had similar problems: smartgit would tell me i need to resolve conflicts, but i could not find them anywhere. it was frustrating that this was not obvious, which ultimately led me to this post.

the solution was simple, my view settings were incorrect, and once fixed the conflicted file showed up within the main file setting. here you can see the view settings for Files pane .

in the attached image, you will see a row of icons that determine which file is displayed. somehow, the folder icon (first one) was unchecked, which prevented it from displaying files within sub-folders, and therefore my conflicted file did not show.

the syntevo smartgit app does many things well, but it really muffed it when it came to clarifying the conflict-resolution process.

btw, thanks to @Arashsoft for his in-depth answer!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM