Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git stash freezes (console becomes unresponsive)

Tags:

git

git-stash

Git is freezing up on any kind of git stash command.

enter image description here

Press [Enter] nothing happens...ever.

But other git commands seem to work fine. I can pull, commit, etc.

enter image description here

I tried it from the command line multiple times. I tried it on multiple repository locations (some of which are clean checkouts.) I restarted my computer multiple times. I even uninstalled git, and reinstalled git with the same result: stash freezes until I kill it from TM.

As a final added complication, I'm running SourceTree (1.8). I've got SourceTree running an embedded Git version: enter image description here

Guess what? If I stash using SourceTree...it works just fine.

  • Windows 10, 64bit
  • Git 2.8.4
like image 906
LimaNightHawk Avatar asked Oct 18 '22 07:10

LimaNightHawk


1 Answers

As an alternate (hack), in light of my other answer, I've decided to piggyback on the SourceTree's local "Embedded" version of Git that does work.

  • I uninstalled my 2.8.4 version.
  • I manually added the SourceTree git path to my Windows Environment path. for me this was C:\Users\{username}\AppData\Local\Atlassian\SourceTree\git_local\cmd

Works like a champ! Good temp fix until I can sort out the Cylance issue.

like image 80
LimaNightHawk Avatar answered Oct 31 '22 13:10

LimaNightHawk