Skip to content
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 · 1 comment
Assignees
Labels
feature New feature or request

Comments

@dahjelle
Copy link

  • 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 New feature or request label Nov 21, 2017
@eamodio eamodio added this to the Backlog milestone Jan 2, 2018
@eamodio eamodio added the help wanted Want community input and/or pull request label Jan 2, 2018
@eamodio eamodio removed the help wanted Want community input and/or pull request 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 It'd be nice if "Open File in Remote" would let me pick a remote branch if an upstream one wasn't configured 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
Closes #209 - Open File in Remote should ask for a branch if no upstream
@eamodio eamodio closed this as completed Jun 7, 2018
@eamodio eamodio removed this from the Soon™ milestone Jul 19, 2019
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants