5 answersactive oldest votes
| Up vote 57 down voteaccepted |
It sounds like you recently updatedGitHubApplication andGit ShellIs now broken. Short version To fix it
- CloseGit Shell
- OpenGitHubAnd let it do some post installation.
- OpenGit ShellAgain and you shoshould be fixed.
In fact, this problem is probably caused by updating git Shell Using GitHub for Windows. The above three steps are actually three steps: 1) Close git Shell 2) Open github3) re-open gitshell
In fact, just follow the above steps. If not, try again as follows ~~~~ (Because I solved the problem by following the above steps)
Long Version This just happened to me and just to make sure I follow you, you just did this
- OpenGit Shell
- You are prompted to updateGitHub
- After the update,Git ShellOpens
Now it gives the error
Git command cocould not be found. Please create an alias or add it to your path.
Warning: cocould not find ssh-agent.
If this is the case, do this
- CloseGit Shell
- Now openGitHubApplication (notGit Shell).
This will say something along the lines of (not sure of the exact version)
GitHub is extracting git ..
Let that go through the process and after it is complete, go openGit ShellAnd it is fixed. Just worked for me at least. |
Warning git command cocould not be found. Please create an alias or add it to yo