Skip to content

Force pull instead of relying of --ff-only #69

@JulienPalard

Description

@JulienPalard

I like "git pull --ff-only" as a human to know when there's a problem. But in scripts like this, it's probably better to just force pull, maybe using:

f"git fetch; git reset --hard origin/{branch}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions