-
-
Notifications
You must be signed in to change notification settings - Fork 803
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
Documentation and improved Get-GitStatus for powershell script integration #657
Comments
Since Regarding documentation, yes this command's comment-help could use a lot of, well, help. :-) We'd gladly accept a PR to improve the help. BTW |
Could I don't like seeing the git status in the prompt, so I set Even calling |
What if we use the existing |
If Currently the behaviour of |
@elsassph Can you try the latest on |
@rkeithhill works great! |
Thanks for confirming! |
Finally putting together a release with this. From a documentation standpoint, I suppose we should change Lines 188 to 219 in ade0c40
|
.INPUTS is used to reflect pipeline input and since this method has no "pipeline bound" parameters, it doesn't handle pipeline input. So |
👍
@elsassph is existing documentation sufficient? |
I appreciate that with the optional
|
…doc-comments Update help doc comments on Get-GitStatusFix #657
System Details
Issue Description
I was developing our a powershell script for some simple custom management of our git-submobules, with nice overview status of the state of each submodule, and got tired of parsing git status. In came posh-git in my mind, and its absolute awesome for getting git info using Get-GitStatus. However I noticed it could easily be made even slightly more awesome. The Readme lacks some info for using posh-git as powershell functions and not just prompt-management. The Get-GitStatus could use a boolean for isOnBranch rather that manually having to parse if branchName is on form "(xfz)". The Get-GitStatus could also use some documentation for the different attributes. Like what does 'HasWorkning' mean?
I might be inspired to invest a few hours adding this. Would you be interested in such a pull-request?
The text was updated successfully, but these errors were encountered: