Skip to content

sr3_commit (or other commands that run git pull) don't work as expected when using rebase mode #30

Description

@reidsunderland

If a user has set their default git pull mode to rebase, then they will get stuck with errors when trying to commit changes e.g.:

$ sr3_commit credentials.conf
error: cannot pull with rebase: You have unstaged changes.
error: please commit or stash them.
[ERROR] Problem updating local repository. Please resolve manually and retry.

I think the sr3_tools code should be changed to use git pull -ff to avoid this, but it needs some investigation and testing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions