Hi Im facing issues when im trying to pull from Git master branch.
Here is Error screenshot please any advice how we over come this ?
Hi Im facing issues when im trying to pull from Git master branch.
Here is Error screenshot please any advice how we over come this ?
Hi,
you have conflicts with your head (master) and local code.
You have to fix those conflicts first then you are able to get pull.
You can try to pull git codes to another branch
Hi,
Im able to solve it
I am facing a similar issue. I am unable to understand where the conflicts exist. Does Katalon show where exactly (Line within a conflicting file) do the conflicts exist?
@Timo_Kuisma helo Timo, is it ok if I try to delete local file that caused conflict?
hi,
yes it is, but take copy before delete it, if there are some valuable information
after delete, you have to pull files from git and then you can make your PR
commit —> push
The original post shows the following files having conficts.
settings/internal/com.kms.katalon.core.webservice.properties
settings/internal/com.kms.katalon.execution.properties
settings/internal/com.kms.katalon.integration.analytics.properties
settings/internal/com.kms.katalon.core.webservice.properties
Let me assume you also have conflicts for the files under the <projectDir>/settings
folder.
<projectDir>/settings
are created by Katalon Studio automatically. KS writes various information to record what you did on your PC with KS. Yes, you can safely delete them, but later KS will recreate them. You can not get rid of them.<projectDir>/settings
on each of their PC. However, the content of these files are NOT identical, as Mr.A and Ms.B operated KS differently.<projectDir>/settings
to be saved in the Git repository or not. It is completely up to them. Git and KS do not control it.<projectDir>/settings
in the Git repository, they will inevitably experience conflicts detected by Git when they do “get fetch” + “git merge” or “git pull”, as they have files with same path but with difference content.settings/
folder when you do git add .
. You can write in the .gitignore
file:settings/
.gitignore
file at .gitignore template for Katalon Studio
settings/*
folder already saved in the Git repository, changing the .gitignore
file is not enough. You need to remove the files out of the index (= the list of file paths to be saved) in the repository by executing:$ cd <to your project>
$ git rm -r --cached settings/
See also my previous post at .gitignore is ignored - content in ignored directories is still included in commits .
The first screenshot in this thread is similar to what my colleague gets but instead of problems with system files they are problems with test cases. The instructions here seem to suggest that the scripts should display the conflicts, but this is not the case. How do we get to resolve conflicts? Doing FETCH - everything up to date. Doing PULL - number of conflicts found but unable to see detail.