Skip to content

Conversation

Alexolut
Copy link
Contributor

With git checkout -b develop2 origin/develop2 we will see an error:

fatal: a branch named 'develop2' already exists

@Alexolut
Copy link
Contributor Author

Unfortunately, I don't have right to see the failing reason:

failing checks:
continuous-integration/jenkins/pr-merge
continuous-integration/jenkins/pr-merge — This commit cannot be built

With `git checkout -b develop2 origin/develop2` we will see an error:
fatal: a branch named 'develop2' already exists
installation.rst Outdated
Comment on lines 166 to 167
$ git fetch --all
$ git checkout -b develop2 origin/develop2
$ git checkout develop2
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
$ git fetch --all
$ git checkout -b develop2 origin/develop2
$ git checkout develop2
# Make sure you are in the 'develop2' branch

The develop2 is already the default branch, should be the one checked-out after git clone, this is not really necessary

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I used the same code that exists on line 143

Should we drop that line as well?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, that line can be removed too, thanks

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm start thinking that mentioning the exact branch develop2 may be not needed at all. I mean that if the user just want to build from source, default branch should be OK for them. It will be even OK when, for instance, default branch will be changed to develop3 etc :)
In case he is interesting in some other branch, it's very likely to expect that he knows how to change the branch to desired one.

Hence, can we drop even your suggested comment?

# Make sure you are in the 'develop2' branch

What do you think?

Copy link
Member

Choose a reason for hiding this comment

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

yes, sounds good! 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

New commit added

@memsharded memsharded added this to the 2.22 milestone Oct 22, 2025
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.

3 participants