Can I prevent git push from proposing a pull request

ccenvcvb
Contributor
December 13, 2018

I have a branch (subset) that contains a subset of a project.

The contexts are the same as the default branch (master) except that a lot of stuff is deleted there.

When I push that branch to the server it proposes to create a pull request that would delete those things from the master.

I do not want it to propose that for this particular branch.

# git push
Counting objects: 4, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 310 bytes | 0 bytes/s, done.
Total 2 (delta 1), reused 0 (delta 0)
remote:
remote: Create pull request for subset:
remote:   https://host:8443/projects/EXT/repos/myproject/compare/commits?sourceBranch=refs/heads/subset
remote:

 

Is the proposing of a pull request something that can be configured

  • on branch level ?
  • if not on a branch,  for this repository ?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events