Questions tagged [github-for-mac]

GitHub for Mac or github:mac is an OS X client for the GitHub social coding community. It also offers integration with local non-GitHub git repositories.

GitHub for Mac or github:mac is an OS X client for the social coding community. It also offers integration with local non-GitHub repositories.

219 questions
130
votes
20 answers

"did you run git update-server-info" error on a Github repository

I'm using the github Gui from their website to manage my repos, and I'm getting the following error: fatal: https://github.com/TeaCodie/TeaCodie-Website.git/info/refs not found: did you run git update-server-info on the server? How can I fix this?
Paul
  • 1,317
  • 2
  • 8
  • 3
94
votes
4 answers

Git Hub Desktop on Mac, error: cannot run gpg: No such file or directory

Trying to commit my changes by using GitHub Desktop and getting this: error: cannot run gpg: No such file or directory error: could not run gpg. fatal: failed to write commit object (128) Firstly that not worked for terminal too and i create…
Ilia Rebane
  • 1,251
  • 1
  • 9
  • 10
78
votes
6 answers

How can I use Git locally?

I'm working on a project at the moment, which I'd like to eventually make public on github, but, for the moment, needs to remain private. Github needs users to pay in order to host a private repository, which I'm unwilling to do, so just creating a…
theonlygusti
  • 11,032
  • 11
  • 64
  • 119
57
votes
8 answers

How to solve git merge error "Swap file .MERGE_MSG.swp already exists"

When I pull: E325: ATTENTION Found a swap file by the name "~/Documents/Sites/recipegenerator/.git/.MERGE_MSG.swp" owned by: username dated: Wed Dec 14 12:28:45 2016 file name:…
Tigerotic
  • 609
  • 1
  • 7
  • 11
50
votes
4 answers

Is there a way to make GitHub Desktop rebase a branch against master?

When I choose "update from master", it creates a merge commit. I'd rather just have it re-base. Is this possible?
Kushal Dave
  • 1,034
  • 2
  • 9
  • 10
38
votes
4 answers

Discard all changes in Github Desktop (Mac)

How to discard all changes in Github desktop (mac), comparing to the latest commit? It is possible to click on one file and select "discard changes". But how to discard all changes in files?
Vitalii Vasylenko
  • 4,776
  • 5
  • 40
  • 64
38
votes
9 answers

"Clone in Mac' fails on GitHub. Takes me to download page every time

I've reinstalled, uninstalled, restarted but "Clone in Mac' on any repository page fails and takes me to the GitHub download page every time. It was working fine earlier this week but today won't do anything useful. Any idea why?
Bit Rocker
  • 777
  • 2
  • 8
  • 13
36
votes
15 answers

GitHub for Mac error: git: 'credential-osxkeychain' is not a git command

When using the GitHub for Mac app (version 87), I received the following error: git: 'credential-osxkeychain' is not a git command. See 'git --help'. error: The requested URL returned error: 403 while accessing https://github.com/[PROJECT…
35
votes
2 answers

github for mac doesn't allow to perform partial checkin/commit

I am using GitHub for Mac, and have bunch of changes in my branch. I am have committed some of the changes and kept others as uncommitted as I am expecting some more changes. however, when I try to do sync in order to push those changes to Git…
Mutant
  • 3,663
  • 4
  • 33
  • 53
27
votes
10 answers

GitHub Client on OS X Commit Fail ("Failed to add file ...)

I am trying to commit changes I have made to my code (as usual) from my GitHub client on my Mac OS X Mavericks machine. I added a new package to my project (it's a Laravel project, and I added the package Rocketeer. I also made a few config…
user1072337
  • 12,615
  • 37
  • 116
  • 195
27
votes
1 answer

Rollback to Previous Commit - Github for MAC (a revert is already in progress)

I think I've messed up here. I made a few changes to my code from a last commit adding new functionalities and realized that some other piece of code was now acting strangely. I decided to Roll back to an old commit (pushed to remote as well) in…
atastrophic
  • 3,153
  • 3
  • 31
  • 50
25
votes
3 answers

How do I tag my git repository using the GitHub Mac application?

I pretty new to GitHub and personally did not have time to learn too much command line. I prefer using the GitHub Mac app for my personal projects and I was curios if I can add tags with it. Basically I just want to tag my projects v0.1 and so on.…
orbitory
  • 1,090
  • 5
  • 16
  • 40
23
votes
4 answers

Git pre-commit hook failing in GitHub for mac (works on command line)

I've created a very simple pre-commit script:- #!/usr/bin/env sh # Run tests npm test if [ $? -ne 0 ]; then echo "Tests failed. Aborting.." exit 1 fi exit 0 When I run git commit at the command line (with failing tests), I get the expected…
isNaN1247
  • 17,793
  • 12
  • 71
  • 118
21
votes
2 answers

Can we use the Github mac app with GitLab?

I like the GitHub Mac app, which I use with my GitHub account. I have joined a GitLab project and I was wondering whether I can use the GitHub app with a GitLab repository. I found a post that discuss that the Windows GitHub app works with GitLab…
Marie Auger-Methe
  • 808
  • 1
  • 8
  • 20
20
votes
4 answers

Set git credentials based on folder

Is it possible to have a folder that contains multiple repos use one set of credentials and have another folder user a different account? For example I would like to have one folder on my mac for work repos and one folder for personal and have the…
cbutler
  • 1,111
  • 5
  • 16
  • 32
1
2 3
14 15