-
Notifications
You must be signed in to change notification settings - Fork 2
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
Branches support #3
Comments
Possibly I was considering it before but couldn't think of a (good) way to expose it. I was toying with the idea of a Set-GHBranch cmdlet which sets an environment variable which the provider then reads, but there's no solid way to reset that when you leave a repo/access a file in a new repo. Maybe it would be best if it was an optional part of the path? Github itself deals with this by saying It might be best if I adopt the syntax npm uses and allow |
I really like how GithubProvider express itself purely via PS Provider, so it would be nice to avoid introducing any cmdlets for common scenarios. Configuration for branches can be preserved as a map in the provider state instead of One option would be introducing a new level in the hierarchy: I understand that it's verbose, but it can be worked out with graceful default behavior: if appropriate branch not founded, fall back to assumption that default branch is used. Then, if somebody doing I can see problems with IntelliSense for |
Any story for read/write from/to non-default branches/tags?
The text was updated successfully, but these errors were encountered: