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 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