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
7
votes
3 answers

GitHub Desktop: "This file is empty"

The file naaclhlt2016.tex is not empty on the client or in the repository, however GitHub Desktop displays "This file is empty". What could explain this? The file naaclhlt2016.tex is present on GitHub repository: git status: It creates conflict…
Franck Dernoncourt
  • 77,520
  • 72
  • 342
  • 501
7
votes
3 answers

Squash Commits in Git Desktop

I'm trying to squash 6 commits into a single commit using a branch that I already pushed to GitHub. I tried to do this via command line, but I keep receiving no-op instead of the commits for that branch. Is there a way to do this via GitHub…
Shwheelz
  • 545
  • 3
  • 8
  • 22
6
votes
1 answer

Github Desktop - "Discard modified lines" option greyed out

I'm confused as to when I can actually use this option as it's always greyed out, whether the lines are highlighted or not.
SpicyCatGames
  • 863
  • 7
  • 25
6
votes
0 answers

unable to restore stash when changes are present on your branch github desktop

I am using Github desktop. I was working on a project on my PC, when my teammate do some changes from his PC on that project, I pull these changes, and my local changes goes into stash. After that pull, when I try to recover my local changes from…
Asif Naeem
  • 61
  • 1
  • 7
6
votes
1 answer

I brought uncommitted changes to another branch, now I can't move them back

I'm using Github Desktop because I don't understand git very well. All I did was change some code in one branch then, without committing my changes, switched to my master branch (bringing along all my uncommitted changes). Now when I try to go back…
bitclip
  • 187
  • 7
6
votes
2 answers

What does the prompt "Do you want to add the following file to Git?" do exactly?

I have been pressing "No", but GitHub Desktop still lists it as being staged and ready to be committed. My partner, him, uses the Command Prompt and not GitHub Desktop, and has been pressing "Yes" and reports the same behaviour (the file gets…
payne
  • 4,691
  • 8
  • 37
  • 85
6
votes
3 answers

what Git Ignore field means in github desktop while creating a new repository

see the Git Ignore option in the below image.What I have to choose, I am creating an ionic-framework repository. https://i.stack.imgur.com/pBvkd.png
Pawan Kumar
  • 508
  • 3
  • 19
6
votes
1 answer

Why does GitHub desktop present history as if it was from only one of our team?

I'm using Git in a team of three to build an iOS app. For this project we are all Mac and Xcode based and have a variety of different ways of using Git: within Xcode, using Github Desktop, and from the Bash terminal. I am confused about the history…
dumbledad
  • 16,305
  • 23
  • 120
  • 273
6
votes
3 answers

Github desktop open in sublime, not atom

In GitHub Desktop, is there any way to change the right click "Open in Atom" option, to instead be "Open in Sublime" or some other text editor? Thanks!
tnrich
  • 8,006
  • 8
  • 38
  • 59
5
votes
1 answer

git fsck shows fatal: mmap failed: Operation timed out

Suddenly some of my git repos are failing with fatal: mmap failed: Operation timed out on executing git cli commands. I was using github desktop , have been working on multiple branches on the repos. Stashed changes and moved between the branches.…
saurav
  • 5,388
  • 10
  • 56
  • 101
5
votes
2 answers

How to stop Github Desktop from changing my line endings

I'm pretty sure Github Desktop is changing my line endings when I commit the files, how do I turn this feature off? I'm using blazor and the files need to remain unchanged or they will fail blazors integrity checks I've read that git config…
Michael
  • 101
  • 2
  • 5
5
votes
2 answers

Make GitHub Desktop work from WSL on Linux repositories

I am using Windows to do some Linux development with WSL. When I add Linux repositories to GitHub, it recognizes them, but it gets confused with file names and line endings between Linux and Windows. This doesn't happen on the terminal tools inside…
buzoherbert
  • 1,537
  • 1
  • 12
  • 34
5
votes
1 answer

How to do Pull Origin in GitHub Desktop

I just updated my GitHub Desktop version from 3.3.6.1 to the latest. I was able to update my remote branch by using Fetch origin but I don't see Pull Origin button to update my local branch. Not sure how to get it. I did some research but wasn't…
David
  • 257
  • 1
  • 8
  • 24
5
votes
0 answers

Explanation for blue stuff in Github Desktop merge conflict?

I'm confused with how to use GitHub Desktop when there is a merge conflict. I assumed the blue stuff on the side tells you what lines you want to keep in the merge. The picture shows the type of blue stuff I'm talking about. I selected the…
Blubber
  • 1,375
  • 1
  • 15
  • 32
5
votes
2 answers

Can I git checkout from GitHub Desktop?

Is there a way to rewrite repository directory files to current branch state in GitHub Desktop? Or can I only do it from command line with git checkout mybranch and does GitHub Desktop keep all files of all branches in directory?
tandav
  • 775
  • 2
  • 9
  • 14
1 2
3
25 26