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
14
votes
6 answers

fatal: unable to access, schannel: failed to open CA file, No such process, GitHub Desktop

Full error text: fatal: unable to access 'https://github.com/Repository_name': schannel: failed to open CA file 'C:/Users/Username/AppData/Local/GitHubDesktop/app-1.2.1/resources/app/git/mingw64/ssl/certs/ca-bundle.crt': No such process Application…
VersAtile
  • 149
  • 1
  • 3
14
votes
1 answer

How to redo an 'undo most recent commit' in Github Desktop

I wanted to unlock my last commit and clicked 'undo most recent commit' in the Repository menu. What happened was the the commit disappeared and all the files within that commit. I'm left with '0 Changes' in the file field and I'm back two month…
JUlinder
  • 995
  • 1
  • 8
  • 19
14
votes
4 answers

Why was git installed in AppData instead of Program Files?

I installed the GitHub Desktop app in my Windows 7 from here and then restarted my laptop. I go to the Windows cmd and type git clone https://github.com/myName/myAwesomeProject.git and I get 'git' is not recognized as an internal or external…
slevin
  • 4,166
  • 20
  • 69
  • 129
14
votes
3 answers

"Google Drive can corrupt repositories" in Github Desktop

I primarily work out of a Google Drive folder and it is mentioned in Github Desktop when creating a new repository that "Google Drive can corrupt repositories". What are the issues specifically and what can be done to avoid repositories being…
Marcel
  • 27,922
  • 9
  • 70
  • 85
11
votes
8 answers

cannot add to the index - missing --add option?

I'm using Github Desktop and tried pushing a new project into a React_Native repository, however when I try committing the code I'm prompted with "cannot add to the index - missing --add option?", I noticed that this problem occurs after I run "expo…
kuassant
  • 121
  • 1
  • 1
  • 3
9
votes
1 answer

How to select and apply a diff patch to a specific file in Visual Studio Code using the VSC UI?

I received a diff patch for a project I'm working on and I want to know if there is a simple way in Visual Studio Code, to apply that diff to the file it is referred to? Visual Studio Code has added some git support in the last few versions. I don't…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
9
votes
4 answers

GitHub desktop stuck on syncing?

I'm trying out GitHub desktop for windows. I downloaded it from https://desktop.github.com/. Logged in with my GitHub credentials and created a git repository locally with the +, create and added the path to the project on my local machine that I…
Kriss
  • 326
  • 1
  • 3
  • 12
9
votes
3 answers

Clone someone else's public repo in Github Desktop

Github Desktop makes it easy for me to clone projects from Github, when they belong to my account (or one of my organizations). Is there any way for me to clone a public repo belonging to somebody else with Github Desktop?
bryanbraun
  • 3,025
  • 2
  • 26
  • 38
8
votes
2 answers

GitHub desktop Husky pre-commit hook does not

I installed husky@4 and lint-staged as per many other projects (on Mac OS11). The terminal command flow git add . and git commit -m 'something' flow works fine: Husky's pre-commit hook and lint-staged commands are picked up successfully. However,…
Phil Lucks
  • 2,704
  • 6
  • 31
  • 57
8
votes
2 answers

The .gitignore setting for the .idea folder of Jetbrains Rider's does not work

I am currently working on a game project for Android using Unity and Rider on Windows10. Git administration is using Github Desktop. After completing the game production, I tried to set up .gitignore to upload to Github, I connected to gitignore.io…
kugorang
  • 161
  • 1
  • 1
  • 9
8
votes
2 answers

In new GitHub Desktop Beta, how can I compare two branches?

I'm currently using GitHub Desktop Beta 0.8.0. I can easily see the diff of a commit compared to the previous commit, but I would like to see the total diff between my branch and its base branch. Is this functionality implemented in GitHub Desktop…
JamesFaix
  • 8,050
  • 9
  • 37
  • 73
8
votes
2 answers

Rename a file on git and keep history

Is it possible to rename a file using Github desktop instead of using git shell and keep the history of it?
Thanassis
  • 857
  • 1
  • 8
  • 25
7
votes
1 answer

Git repository folder does not appear in File Explorer

Using GitHub Dekstop, I cloned one of my own repositories to my computer, and I named the folder repo: C:\Users\Lenovo\Desktop\DevFiles\repo Now if I navigate to the parent folder DevFiles, the repository folder repo is not visible. But if I just…
Aryan Beezadhur
  • 4,503
  • 4
  • 21
  • 42
7
votes
4 answers

Moved to different branch, lost changes - is there a way back?

I was working in the master branch and didn't realize it. I have hours of work that I did in that branch. When I had finished what I wanted to commit, I went to GitHub Desktop v2.2.3 and noticed that I was in master. Before I had added them to…
arcy
  • 12,845
  • 12
  • 58
  • 103
7
votes
3 answers

Github desktop for mac cannot login

I'm new to github and I've just downloaded github desktop for mac (v217), but i cannot login, it always says "could not reach server". Image : the error msg I've tried : Both my username and email for 'Login'; Reinstall github desktop; Login with…
Rumei Ines LI
  • 71
  • 1
  • 1
  • 3
1
2
3
25 26