Skip to content

add support for pushing to tracked remote #1278

@antisaling

Description

@antisaling

I'd like to always push to the tracked remote as most often I don't have write privileges on most repos I work on and I usually don't have mine set as origin because sometimes I have multiple mirrors (i.e. a remote for gitlab and another for github, so I use those names).

Currently jj gives me an Error: Unexpected git error when pushing: unexpected http status code: 403; class=Http (34) which I believe is also not the best (I had to think through it for a while to figure out the actual problem).

Of course, I can just change one of my usual remotes to what jj expects them to be, but I find this rather inflexible.

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