by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Rob Reynolds
    @ferventcoder
    and it will just start working. HTH
    Joseph Musser
    @jnm2
    Cool, thanks!
    Rob Reynolds
    @ferventcoder
    in powershell, run ls env: and look to be sure that is the name of the folder
    Felix Becker
    @felixfbecker
    Is it possible to install posh-git on MacOS?
    I tried it with Install-Module but my prompt now looks like this:
    /Users/felix/git/vscode [master ≡]> /Users/felix/git/vscode [master ≡]
    (duplicated)
    Felix Becker
    @felixfbecker
    filed #486
    David Gardiner
    @flcdrg
    I've just started using the VSTS CLI tool (https://docs.microsoft.com/en-us/cli/vsts/overview), that integrates with Git. I'm wondering is this something you'd consider a PR to add to posh-git, or is there a way to make an 'addon' to posh-git to extend it to support this kind of tool?
    Keith Dahlby
    @dahlbyk
    @flcdrg I assume you're referring to tab expansion support for the VSTS commands?
    David Gardiner
    @flcdrg
    Yes, sorry I should have been clearer😀
    Keith Dahlby
    @dahlbyk
    :+1: I'm not sure it really makes sense to include VSTS bindings with posh-git, but I'd certainly want to make sure our tab expansion is compatible with other tab expansion.
    I'm not 100% certain posh-git plays nicely with Register-ArgumentCompleter, but it seems like it should...
    David Gardiner
    @flcdrg
    Interesting. I'll have to take a closer look at that. I wonder if it would still work with the git integration (https://docs.microsoft.com/en-us/cli/vsts/git), or if posh-git would swallow everything that began with "git "
    Keith Dahlby
    @dahlbyk
    Oh, neat. I didn't notice the git command. I'm absolutely cool with adding tab expansion to posh-git for git pr <tab>
    David Gardiner
    @flcdrg
    👍
    Mads Gram
    @PhDuck
    Can anyone confirm what happens after a command is executed and the next line in the prompt is being drawn. In my current repo a two second delay happens.
    Without looking at the code I would guess a call to git status happens and is used to give the summary.
    Mads Gram
    @PhDuck
    I was right. My savior was the following setting: $GitPromptSettings.EnableFileStatus = $false
    Zach
    @zawisman

    Not :100: that it is a posh-git thing but thought i would post here for some feed back
    https://github.com/git/git/blob/master/Documentation/RelNotes/1.7.8.txt#L85-L86
    states that

    "git merge" learned the "--edit" option to allow users to edit the
       merge commit log message.

    however i have to explicitly pass -e to my git merge -e feat in order to get my editor to open to change the merge message

    thoughts?

    i have an alias

    [alias]
        mrg = merge -e

    but would like to not have to use it

    Keith Dahlby
    @dahlbyk
    @PhDuck missed this until now - yes, a git status runs on every prompt, which can be slow for large repos. You can set $GitPromptSettings.Debug = $true to see how we're spending our time.
    @zawisman try git config branch.master.mergeOptions "-e"
    https://git-scm.com/docs/git-config#git-config-branchltnamegtmergeOptions
    Zach
    @zawisman

    @dahlbyk hmm that worked. I tried to add

    [merge]
      edit = true

    but that did not work. Not sure why that does not adding the edit flag on the branch merge options does but i'll take it. Good to know. Thanks for pointing that option out

    the-j0k3r
    @the-j0k3r
    ahhh
    so how many of you guys use a dark theme for gitter?
    the-j0k3r
    @the-j0k3r
    none in on gitter I see :)