All Git Commands Fail in Powershell Studio 2018

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 5 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
itopsphi@favors.com
Posts: 2
Last visit: Thu Apr 15, 2021 12:12 pm

All Git Commands Fail in Powershell Studio 2018

Post by itopsphi@favors.com »

Product, version and build: PowerShell Studio 2018 v5.5.153
32 or 64 bit version of product: 64-bit
Operating system: Windows 10 build 1803
32 or 64 bit OS: 64-bit

I installed PowerShell Studio 2018 v5.5.153 and change Universal Source Control to Git. All Git commands, with the exception of Shell and GUI, are failing with "Run Command - Error: The system cannot find the file specified". Shell and GUI open successfully. Any help on this error is appreciated.
User avatar
Olga_B
Site Admin
Posts: 196
Last visit: Mon Apr 15, 2024 12:32 pm

Re: All Git Commands Fail in Powershell Studio 2018

Post by Olga_B »

Have you installed GIT on your machine?

Here is the blog:
https://www.sapien.com/blog/2018/07/02/ ... l-support/
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: All Git Commands Fail in Powershell Studio 2018

Post by davidc »

When you install Git, make sure you check the Windows Explorer Integration option:
Git.png
Git.png (30.93 KiB) Viewed 1770 times
You can also check if Git's directory is listed in your Path environmental variable:
  1. $env:Path.Split(';')
You should have the following value list:

Code: Select all

C:\Program Files\Git\cmd
David
SAPIEN Technologies, Inc.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: All Git Commands Fail in Powershell Studio 2018

Post by davidc »

Correction, please make sure you select the "Use Git from the Windows Command Prompt" option:
Git Command Prompt.png
Git Command Prompt.png (33.89 KiB) Viewed 1766 times
David
SAPIEN Technologies, Inc.
This topic is 5 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.