Skip to content

[Feature request] Support upstream/pushRemote workflow #58

@rynoV

Description

@rynoV

Thanks for making this! I really like it, especially for when I need to work on Windows.

One of the features I like about Magit is its support for easily differentiating a branch's upstream/merge and pushRemote. I first saw the feature+workflow described here, and now I find other git UIs without this feature like vscode's to be lacking. It's very convenient to be able to quickly see both the difference between the upstream merge target (e.g. master) and the remote branch being tracked (usually a "feature" branch with the same name as the local branch). For example, with Magit when I run a fetch:

  • I can immediately see if some other feature has been merged to master and my feature branch has fallen behind
  • I can immediately see if someone else, working on the same feature as me, has pushed to my feature branch and it has fallen behind
  • I can quickly pull either master or the remote tracked branch into my local branch

The main features from Magit that I'd like to see in this project:

  • Support for the separate push/fetch/pull keybinds described here for pushRemote vs upstream/merge
  • Support for the two sections in the main status screen showing the diff between the local branch and pushRemote, and the local branch and upstream/merge
  • Support for automatically setting branch.<name>.pushRemote (if it's not already set) when using the "push to pushRemote" keybind, in the same way as Magit

I'm not sure how big of an ask this is, I haven't looked at the codebase yet, but I like the project and I like rust so I might try implementing this at some point.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions