Skip to content

Why %(upstream:track)? ... I'm intrigued! 😀 #21

@pvdb

Description

@pvdb

It's not wrong, but I was just wondering about the purpose of this line:

%(color:bold yellow)%(upstream:track)%(color:reset)

The %(upstream:track) directive is only relevant if you have two local branches, one of which is the upstream for the other one... put differently: it has no relevance for remote-tracking branches.

Like I said: nothing wrong with it, but I'm intrigued by the workflow where you have a local branch with an upstream local... ie. what kind of git workflow would give rise to this use-case?

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