Clone repository from private gitlab forks

git-clone
ios
gitlab-self-hosted
#1

Hello,

I’m creating a bitrise app for a private self-hosted gitlab repository.

We have a fork-flow for Merge Request and when builds are triggered by webhook, git-clone fails to clone both repositories:

/
git "remote" "add" "origin" "https://[REDACTED]:[REDACTED]@gitlab.XXXX.tech/YYYY/repo"
git "fetch" "--depth=5" "origin" "develop"
warning: redirecting to https://gitlab.XXXX.tech/YYYY/repo.git/
From https://gitlab.XXXX.tech/YYYY/repo
 * branch              develop    -> FETCH_HEAD
 * [new branch]        develop    -> origin/develop
ERROR: auto merge, error: there is no Pull Request branch and can't download diff file

i’ve seen that the parameter manualMerge could modify the behavior, but it does nothing for us :frowning:

Can someone helps us please ?

1 Like

#2

Hi @ApolloWL,

Is it possible there is a merge conflict?

0 Likes