New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open File in Remote should let me pick a remote branch if an upstream one wasn't configured #209

Closed
dahjelle opened this Issue Nov 20, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@dahjelle

dahjelle commented Nov 20, 2017

  • GitLens Version: 6.1.1
  • VSCode Version: 1.18.1
  • OS Version: macOS 10.12.6

Steps to Reproduce:

  1. Switch to a branch that isn't on the remote.
  2. Open a file.
  3. Try "Open File in Remote": the option doesn't exist.

Here's my use-case: I'm often assisting co-workers while working on my own feature branch. Most files are the same in master (for instance) and in my feature branch, and if I had to research a question for a co-worker, I will often research it in my feature branch (being mindful of potential code differences). If I have an answer, I'd usually like to send a URL to the appropriate code, perhaps on master.

As it stands now, I'd have to switch from my feature branch to master just to send the link.

I'm not sure what the best fix is, given the issue in #201. Perhaps a setting? Perhaps the ability to choose any branch on the remote?

I'm sure this issue is more complicated than I realize once one takes into account multiple remotes and the like, but I thought I'd share my workflow in hopes of a solution. :-D

@eamodio eamodio added the feature label Nov 21, 2017

@eamodio eamodio added this to the Backlog milestone Jan 2, 2018

@eamodio eamodio added the help wanted label Jan 2, 2018

@eamodio eamodio removed the help wanted label Jun 7, 2018

@eamodio eamodio self-assigned this Jun 7, 2018

@eamodio eamodio modified the milestones: Backlog, Soon™ Jun 7, 2018

@eamodio eamodio changed the title from It'd be nice if "Open File in Remote" would let me pick a remote branch if an upstream one wasn't configured to Open File in Remote should let me pick a remote branch if an upstream one wasn't configured Jun 7, 2018

eamodio added a commit that referenced this issue Jun 7, 2018

Fixes #399 - "Open x in Remote" commands aren't always available
Closes #209 - Open File in Remote should ask for a branch if no upstream

@eamodio eamodio closed this Jun 7, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment