question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to Open Repository in Git Bash Shell

See original GitHub issue

Description

Clicking RepositoryOpen in Git Bash does not launch a new Git Bash window set to the repository’s directory. This used to work for me in the past.

The shell is Git Bash in FileOptions…Advanced. If Git Bash is changed to Command Prompt or PowerShell then RepositoryOpen in [Command Prompt/PowerShell] will correctly work.

Version

GitHub Desktop version: 1.0.6

OS version: Microsoft Windows [Version 10.0.15063]

Steps to Reproduce

  1. Launch GitHub Desktop.
  2. Select a repository or add one if there are none listed.
  3. Click FileOptions…Advanced. Under Shell choose Git Bash and save.
  4. Click RepositoryOpen in Git Bash. Note that nothing happens.
  5. Repeat step 3 but under Shell choose Command Prompt or PowerShell and save.
  6. Repeat step 4. Note that the chosen shell will launch.

Expected behavior: Clicking RepositoryOpen in Git Bash would launch a new Git Bash window set to the repository’s directory.

Actual behavior: Clicking RepositoryOpen in Git Bash does nothing.

Reproduces how often: 100%

Logs

There does not appear to be any relevant information in the log files generated by GitHub Desktop.

Additional Information

I tried reinstalling both Git for Windows and GitHub Desktop but the issue persisted. The issue was also occurring on GitHub Desktop 1.0.5. I also contacted GitHub support regarding this issue.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Eliotycommented, Oct 30, 2017

Yay so the fix will make it to 1.0.7 release I guess 😄 That’s really quick user support! Keep up the good work 😉

1reaction
shiftkeycommented, Oct 29, 2017

@Elioty aha, that’s good to know. And yes, I’m also seeing the same thing when trying to open the repository in Git Bash. I’ll let you know if I need anything from you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to "Open in Git Bash" in Github Desktop - Stack Overflow
To make Github Desktop locate Git successfully, the URI of Git must be given in environment variable %PATH% . I suggest to assign...
Read more >
Working on Git Bash - GeeksforGeeks
Step 1: Go to Github repository and in code section copy the URL. Step 2: In the Command prompt, add the URL for...
Read more >
What is Git Bash | Download a Terminal for Windows - GitKraken
Git bash is an application that provides a terminal for Windows. Learn how to complete a Git bash download and perform commands like...
Read more >
Is Git 2.31 causing git-bash terminal to fail open...
From the Explorer window: right-click on the root folder of the repo and select "Git Bash Here" --> opens the GitBash, which can...
Read more >
I can't open git bash - Super User
I'm trying to upload a project on Github. I've already created a repository and I have git installed but when I go to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found