InditexTech / gh-sherpa

Streamline branch and pull request creation for Jira or GitHub issues from command line
Apache License 2.0
48 stars 2 forks source link

Cannot create pull request if remote branch already exists #92

Closed hielfx closed 2 months ago

hielfx commented 3 months ago

Detailed description

Currently (on main branch version) if a remote branch already exists, you cannot create the pull request.

Example workflow:

  1. gh sherpa cpr -i XXXX
  2. Close pull request
  3. gh sherpa cpr -i XXXX
  4. Error remote branch already exists

Expected behaviour

???