feat(git-provider): Display current branch when listing registered repos
- change setters to init when parsing git folders - change Console.WriteLine to Debug.WriteLine in GitManager constructor
This commit is contained in:
parent
52f7260bf4
commit
39022e4186
3 changed files with 64 additions and 4 deletions
|
|
@ -4,6 +4,10 @@ using ModuleCore.Git;
|
|||
|
||||
namespace PowershellModule.Git.Commands;
|
||||
|
||||
// TODO: decide on if I like Show to be used as the verb name. Other options I have are push/pop and open.
|
||||
// Seeing as this is likely just for me currently, Show-GitRepo suits my workflow more where I'll want to quickly just
|
||||
// pushd into a git repo, do whatever I want to do with it/change directories in it whatever, and then popd at the end.
|
||||
// I'll also be integrating the current stack into the custom prompt whenever I get around to doing that
|
||||
[Cmdlet(VerbsCommon.Show, GitCommands.GitRepoNoun)]
|
||||
public class ShowGitRepoCommand : PSCmdlet
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue