Uploaded image for project: 'Skara'
  1. Skara
  2. SKARA-882

Allow PR creation from a script

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: New
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cli
    • Labels:
      None

      Description

      I would like to use the `git pr` commands in a script to create a PR and set its title and description. Currently, this is not easily possible because `git pr create` will open an editor. Also, for `git pr set` I would need the id of the PR that I can not easily retrieve (especially, if I have multiple open PRs in that repository).

      One option would be to add arguments to `git pr create` that allow to set the title and description via the command line.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: