mhutchie / vscode-git-graph

View a Git Graph of your repository in Visual Studio Code, and easily perform Git actions from the graph.
https://marketplace.visualstudio.com/items?itemName=mhutchie.git-graph
Other
1.97k stars 260 forks source link

I actually have this exact same intermittent issue when using my PowerShell alias: #800

Closed Stan-Stani closed 8 months ago

Stan-Stani commented 8 months ago
          I actually have this exact same intermittent issue when using my PowerShell alias:
# m => git stash; git checkout main; git pull
function Invoke-Git-Stash-Pull-Main {
    $ErrorActionPreference = "Stop"
    & git stash
    & git checkout main
    & git pull
    Write-Host Ran $MyInvocation.MyCommand from `$profile
}
New-Alias -Name m -Value Invoke-Git-Stash-Pull-Main

I don't and never have used Git Graph, so I think this is perhaps an issue with git itself. Unless someone can find an issue with my PS script that is causing it. Anyway, I found this issue via a Google search and hopefully my input will be useful to others.

I'm on: git version 2.40.0.windows.1

Originally posted by @Stan-Stani in https://github.com/mhutchie/vscode-git-graph/issues/284#issuecomment-1863473247

Stan-Stani commented 8 months ago

Mistakenly opened.