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.

check Git installed and prompt if not found

See original GitHub issue

Description

I am unsure on how to use the Github Desktop internal Git in terminal with the folder scope.

Version

  • GitHub Desktop: 1.1.1
  • Operating system: Ubuntu 17.10

Steps to Reproduce

  1. Open GitHub Desktop with some repo
  2. Click on Repository -> Open in GNOME Terminal
  3. Type git

Expected Behavior

I expected it to work with GitHub Desktop’s internal git, like in Windows.

Actual Behavior

The system asks me to install Git separately, therefore I would have to create a duplicate clone just to use terminal commands.

Additional Information

I am not sure what is the app’s launchable name, so I wasn’t able to try that. It certainly wasn’t github (from #32).

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
shiftkeycommented, Apr 30, 2018

That wasn’t the case for the old design version (I believe it installed full Git with the Desktop already).

The “Git Shell” experience was not ported over to Desktop Electron for multiple reasons. The discussion to read the back story on this is https://github.com/desktop/desktop/issues/340

2reactions
j-f1commented, Apr 27, 2018

You should be able to use the same Git repository in both GitHub Desktop and in your terminal, as long as you have Git installed separately.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Checking to See if You Already Have Git Installed on a ...
To check whether or not you have git installed, simply open a terminal window and type "git --version". If you've already followed the...
Read more >
Install Git on Linux, Mac or Windows: A How To | Linode
Check if Git is already installed on your Mac using: git --version. If Git isn't installed on your computer, the terminal prompts you...
Read more >
git is not installed or not in the PATH - Stack Overflow
Navigate to the Environmental Variables Editor and find the Path variable in the “System Variables” section. Click Edit… and paste the URL of ......
Read more >
Git Guides - install git · GitHub
Open the command prompt "terminal" and type git version to verify Git was installed. Note: git-scm is a popular and recommended resource for...
Read more >
Git command not found: How to fix Git is not recognized as an ...
During the Git installation, the Command Prompt in your PC was already running · You did not correctly configure the Git Path or...
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