gitprep icon indicating copy to clipboard operation
gitprep copied to clipboard

Not able to create pull request to branch other than master

Open jeansergegagnon opened this issue 5 years ago • 3 comments

Pull request to develop branch showing "no changes found" even though it shows there are commits not there in the branches view.

Setting destination branch to master, it allows creation of pull request.

Using v2.6.1, here are steps to reproduce:

  1. Create repo
  2. Create develop branch
  3. Change default branch to develop
  4. On remote host, create new branch (bug-123-fix-hooks for example)
  5. Commit and push change on this new branch
  6. In gitprep, go to repo and branches
  7. See that there is a commit on the bug-123-fix-hooks branch
  8. Click the New pull request button
  9. It shows:

There isn't anything to compare. develop is up to date with all commits from BUG-123-fix-hooks. Try switching the base for your comparison.

jeansergegagnon avatar May 26 '19 14:05 jeansergegagnon

@jeansergegagnon Still happens? I just faced the same issue. Is it just with GitHub coz in Gitlab I am able to create PR/MR from feature branch to Develop

FYI gitflow in gitlab feat -> Dev -> Stg -> Prod

prashant0085 avatar Oct 07 '21 11:10 prashant0085

I don't fix it yet.

yuki-kimoto avatar Oct 08 '21 03:10 yuki-kimoto

@yuki-kimoto Thanks for the update yuki-san

prashant0085 avatar Oct 10 '21 07:10 prashant0085

Fixed.

https://github.com/yuki-kimoto/gitprep/pull/223/commits/a2480ea4825bfd4af15cf888ebfbd2ccb87502cc

yuki-kimoto avatar Sep 19 '24 23:09 yuki-kimoto