Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

Downloaded the Github for Mac app and it crashes instantly upon opening. Here is the error report:

Application Specific Information: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Received error from name: in binding for key path "currentActionViewModel" on : NSError { domain: GTGitErrorDomain, code: -12, description: "Failed to create reference to tracking branch from name: refs/heads/master, shortName: master, sha: { SHA: da048479dec26b5e59ccd594bc32a4c7c8e93dc5 }, remoteName: (null), repository: fileURL: file:///Users/johnfarmer/.Trash/first_app/", underlying error: NSError { domain: GTGitErrorDomain, code: -12, description: "'https://github.com/johnfarmernyc/first_app.git' is not a valid remote name." } }' terminating with uncaught exception of type NSException abort() called

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
163 views
Welcome To Ask or Share your Answers For Others

1 Answer

This is a problem with the repository configuration. You will have to diagnose it yourself.

I don't use Github for Mac I use Git from the command line.

Open up the Terminal.app and cd <the path of the first_app folder> then do a git fetch origin and see if that reviles anything works. You can also edit the first_app/.git/config file and remove references to tracking branches in hopes Github for Mac recovers again.

You can also attempt to delete the first_app repo and then use Github for Mac to re clone it again.

As a side note, You might be better off not using Github for Mac and just use Git out of the box (on the command line) it takes a little bit more of a learning curve but worth it, and there is a much larger Git community then there is a Github for Mac community.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...