How To Fix SCTS_GITHUB_API006 - Creation of pull request failed. No commits between &1 and &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SCTS_GITHUB_API -

  • Message number: 006

  • Message text: Creation of pull request failed. No commits between &1 and &2

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message SCTS_GITHUB_API006 - Creation of pull request failed. No commits between &1 and &2 ?

    The SAP error message SCTS_GITHUB_API006 indicates that the creation of a pull request has failed because there are no commits between the specified branches (denoted as &1 and &2). This typically occurs in the context of using SAP's transport management system with Git integration, where you are trying to create a pull request from one branch to another, but there are no changes to be merged.

    Cause:

    1. No Changes: The most common cause is that there are no new commits in the source branch (&1) compared to the target branch (&2). This means that the source branch is either identical to the target branch or has not had any new changes pushed to it.
    2. Incorrect Branches: You may have selected the wrong branches for the pull request, leading to a situation where the source branch does not have any new commits compared to the target branch.
    3. Local Changes Not Pushed: If you have made changes locally but have not pushed them to the remote repository, the pull request will not find any new commits.

    Solution:

    1. Check for Commits: Verify that there are indeed new commits in the source branch. You can do this by checking the commit history of both branches using Git commands:

      git log &1
      git log &2

      Compare the two logs to see if there are any new commits in the source branch.

    2. Push Local Changes: If you have made changes locally, ensure that you have committed and pushed those changes to the remote repository. Use the following commands:

      git add .
      git commit -m "Your commit message"
      git push origin &1
    3. Select Correct Branches: Double-check that you are creating the pull request between the correct branches. Ensure that the source branch is the one with the new changes.

    4. Create a New Commit: If there are no changes and you still want to create a pull request, you can make a small change (like editing a file) and commit that change to the source branch.

    5. Use Git Commands: If you are comfortable with Git, you can also use Git commands to create a pull request directly from the command line, which may provide more detailed error messages.

    Related Information:

    • Git Basics: Familiarize yourself with basic Git commands and workflows, as understanding how branches and commits work is crucial for resolving issues like this.
    • SAP Transport Management: If you are using SAP's transport management system, ensure that you understand how it integrates with Git and the specific configurations that may affect pull requests.
    • Documentation: Refer to SAP's official documentation for Git integration and transport management for more detailed guidance on troubleshooting and best practices.

    By following these steps, you should be able to resolve the error and successfully create a pull request.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author