Questions tagged [github-desktop]

GitHub Desktop is a graphical user interface for macOS and Windows, used to contribute to projects on GitHub and GitHub Enterprise.

About GitHub Desktop

GitHub Desktop allows you to:

Focus on what matters instead of fighting with Git. Whether you're new to Git or a seasoned user, GitHub Desktop simplifies your development workflow.

Features

  • Attributing commits with collaborators
  • Checkout branches with pull requests and view CI statuses
  • Syntax highlighted diffs
  • Expanded image diffs
  • Editor and shell integrations
  • Open-sourced and community-supported

More info

The application can be downloaded from the Github Desktop website and its source code can be found on GitHub.

388 questions
5
votes
1 answer

gitignore misses some binary files (DLLs & PEs)

I use the latest version of Github Desktop. My repo consist of a rather large C# solution with many sub-directories and projects. I'd like to ignore all R#-cache files and compiled binaries using the .gitignore file which resides in the root…
turbo
  • 1,233
  • 14
  • 36
4
votes
1 answer

GitHub Desktop - how to change default storage directory?

I am using GitHub Desktop on Windows, and want to change the directory where cloned repositories go by default (currently %USER%\Documents\GitHub\). I have looked at this question from 8 years ago in which OP is using the GitHub for Windows GUI, but…
DarthVlader
  • 344
  • 3
  • 14
4
votes
5 answers

Github Desktop - Author Identity Unknown

I am using github desktop to upload some code for a basic website then use github pages. However, every time i try to commit to main, an error comes up saying "Author identity unknown." I understand I have to put my name and email in the file but…
Vanya Novikov
  • 51
  • 1
  • 1
  • 2
4
votes
1 answer

How to add WSL-Ubuntu shell to Github Desktop shells list?

I want to use WSL-Ubuntu-Shell in the GitHub desktop app. In the Desktop App for GitHub, there is only Powershell, cmd, and Git Bash. How to add WSL-Ubuntu-Shell?
4
votes
1 answer

Is there any way to clone a specific brach in git desktop?

I tried but its cloning whole repository. I wanted to clone only specific branch in that repository Thanks in advance
Sairam G
  • 41
  • 1
  • 2
4
votes
0 answers

Github Desktop (macos) - Update from master vs Merge into Current Branch

I have looked around quite a bit but could not find an answer specific to Github Desktop. I have two main branches Master and Develop. When I develop a new feature I do the following: Create a feature branch from Develop When I am happy with the…
Rojj
  • 1,170
  • 1
  • 12
  • 32
4
votes
2 answers

How to "Open in Git Bash" in Github Desktop

In the dropdown menu of Repository, you can see there is a button named Open in Git Bash (Ctrl + `), when I click it, I got a warning saying: Unable to locate Git We were unable to locate Git on your system. This means you won't be able to execute…
KaiserKatze
  • 1,521
  • 2
  • 20
  • 30
4
votes
1 answer

Failed to Discard Changes

I am currently using github desktop. I tried to discard changes to one of the edited files before making a commit. Github returned 'Failed to discard changes' This file may be in use by another application. (I closed all related applications…
PanczerTank
  • 1,070
  • 4
  • 14
  • 31
4
votes
1 answer

Sidebar Structure for Repositories and Projects

I use Github for Desktop on Windows 10. On the download page (https://desktop.github.com/) there is an image showing the sidebar with headline captions (GitHub, Other): I use the Client with Bitbucket and therefore I have multiple projects each…
Thomas
  • 677
  • 1
  • 5
  • 19
4
votes
2 answers

Keyboard shortcut to sync in GitHub Desktop

Is there any keyboard shortcut to sync in GitHub Desktop? Hitting ENTER after writing a commit comment creates a commit, but I wonder how to sync without using the mouse.
Franck Dernoncourt
  • 77,520
  • 72
  • 342
  • 501
4
votes
2 answers

Long time to Commit

When I commit a sizable number of files (200 files) through GitHub for Desktop, it just sits there for a very long time (>10 minutes). It does eventually complete. Scrolling through the debug log doesn't seem to show anything out of place. This…
Peter Godwin
  • 267
  • 3
  • 12
3
votes
2 answers

Is it dangerous to open or clone a Git repository from an untrusted source

I was sent a Git repository (the .git folder) from an untrusted source. I want to take a look at it with GitHub Desktop that I have installed, but I don't know enough about the inner workings of Git to know if this is dangerous. Is it safe like…
Louie
  • 87
  • 1
  • 4
3
votes
1 answer

GitHub Desktop showing changes after just opening the unity project

After pulling the changes that a teammate did, I open our unity project and just after opening and closing it, without making any changes to it, GitHub Desktop is showing thousands of changes to commit. Is this because of the lack of a .gitignore in…
Sevcan D.
  • 53
  • 9
3
votes
0 answers

How to avoid warning 'LF will be replaced by CRLF' in git?

I'm using GitHub Desktop v.2.6.9(x64) for Windows 10, with WSL2 Linux Ubuntu 20.04 LTS. The GitHub Desktop installed in Windows, but git repo and all the code and development happens in Linux partition, by VS Code and extension "Remote - WSL" by…
lugger1
  • 1,843
  • 3
  • 22
  • 31
3
votes
1 answer

Recover dropped Stashed Changes in Github Desktop (Windows 10)

Using Github Desktop (v. 2.9.6 on Windows 10) as beginner, when moving back and forth from branch to branch, I stash my changes to keep them on a branch for later. But doing this twice in a row, instead of stacking the changes in the stash, it…
Cedrol
  • 161
  • 1
  • 8