Elric Elric - 2 months ago 6
Git Question

Adding a non mergeable branch like gh-pages

I like how

gh-pages
is just a branch of a repository. I want to create a new branch to store things that related to a repository, but should not be updated very often, so I don't want to store inside the master branch.

Like
gh-pages
, I would like to create an
example
branch, that won't ever be offered to merge. Ideally I don't want the message below to be available:

what I would like to prevent.

Answer

It is not possible. But why are you disturbed? It's just a message. If you create a gh-pages branch, the message is hidden but you can do a pull request.

Comments