Skip to content

Add a remote name to config #113

Description

@drubb

Sometimes, a local repo does not have a remote 'origin' because it has been renamed, e.g. to something like 'devrepo'. This yields an error running forge commands:

Error: reading remote "origin" (not in a git repo, or remote not configured; use -R or --remote): exit status 2

Suggestion:

Make the remote name configurable, e.g. this way:

type = gitlab
remote = devrepo

Just in case there is no 'origin' remote.

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