Skip to content

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

@reidsunderland

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions