Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does Github desktop install command line version of Git

Tags:

git

github

According to https://git-scm.com/book/en/v2/Getting-Started-Installing-Git

The installer includes a command line version of Git as well as the GUI. It also works well with Powershell, and sets up solid credential caching and sane CRLF settings.

When I'm launching the latest download from https://desktop.github.com/, it just runs immediately and does not offer me to install command line version. I checked in cmd by typing git, command is not recognized.

Do GithubDesktop really installed Git command line, if not can I force it to do so somehow ?

Update: I've found the install but cannot access it from Powershell.

like image 458
user310291 Avatar asked Jan 02 '16 11:01

user310291


People also ask

Does GitHub desktop include git command line?

Installing GitHub Desktop will also install the latest version of Git if you don't already have it. With GitHub Desktop, you get a command line version of Git with a robust GUI.

Does installing GitHub desktop install git?

You must have Git installed before using GitHub Desktop. If you do not already have Git installed, you can download and install the latest version of Git from https://git-scm.com/downloads. After you have Git installed, you'll need to configure Git for GitHub Desktop.

Where is my git installed path?

On the next step, you should choose where to install the program. The default path is “C:\Program Files\Git“. If you want the software installed in a different location click Browse and specify a different folder.

Where is the GitHub command line?

In the menu bar, select the GitHub Desktop menu, then click Install Command Line Tool. Open Terminal. To launch GitHub Desktop to the last opened repository, type github . To launch GitHub Desktop for a particular repository, type github followed by the path to the repository.


1 Answers

On Windows the latest Electron / unified versions of github desktop has git stored here:

C:\Users\UserName\AppData\Local\GitHubDesktop\app-1.0.5\resources\app\git\cmd\git.exe 
like image 100
Pondersome Avatar answered Oct 01 '22 06:10

Pondersome