-
Notifications
You must be signed in to change notification settings - Fork 15
Suggestion: PSProvider for working with Git #47
8000 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
Comments
Can you give some more examples of git actions which you can imagine mapping to a provider? For instance, how would you imagine handling the core 6: In my head, I immediately thought |
i had considered this too (once i saw add-item remove-item) but after giving it some thought i realized it wouldnt really work out too well in the end |
I don't think there is an intuitive way to do the main operations. Now that I think more about it I think a PSProvider would be better suited for managing the Git repositories on your computer, rather than Git operations themselves. For example the
Difference between using the repository from file system vs Git: drive is that when querying files in the Git: drive you will get get-specific properties, such as |
Oh, well in that case, you'll be happy to hear that you don't need a git drive to get stuff like that when you query files ... we can detect you're in a git folder and give you stuff like that on your |
yeah, if you look there is a GCI Proxy branch (currently a PR) that shows the change/stage state |
That's great to know. Thank you guys. |
Default PSProviders in PowerShell are the followings:
I thought it would make sense to have one for working with Git repositories, so that you can do, for example:
and other Git operations with standard PS cmdlets.
The text was updated successfully, but these errors were encountered: