question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to clone Gists in Desktop

See original GitHub issue

Description

We have this nifty little button on the top of Gists just like we do for repositories:

screen shot 2017-09-26 at 12 51 51 pm

However clicking that button does not clone the Gist as expected.

Version

GitHub Desktop version: 1.0.1 OS version: macOS 10.12.6

Steps to Reproduce

  1. Go to any Gist, like: https://gist.github.com/jboner/2841832
  2. Click the “Download to Desktop” button that links to x-github-client://openRepo/https://gist.github.com/2841832

Expected behavior: The Gist should be cloned to my Desktop app. Actual behavior:

  • A user reported that they were taken to desktop.github.com after clicking that button, even though they have Desktop installed.
  • I was unable to reproduce that ☝️ but got an error every time: screen shot 2017-09-26 at 1 00 52 pm

Note that it doesn’t exist, because it won’t let me clone it. It’s a misleading error message in this case a well.

Reproduces how often: Every time for me.

Logs

2017-09-26T19:57:56.787Z - warn: [ui] Open Repository from URL failed, did not find repository: https://gist.github.com/2841832.git - payload: {"name":"open-repository-from-url","url":"https://gist.github.com/2841832.git"}

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
billygriffincommented, Mar 2, 2020

I’m going to roll this into #2973 because we know the experience for managing Gists in Desktop isn’t particularly good in a variety of ways, but it’s not something we’ve been able to prioritize and that’ll get looked at with the remainder of the future proposals still outstanding.

0reactions
theconsultantcommented, Nov 29, 2018

Changing the default local name to something meaningful worked for me as well.

@shiftkey I don’t know if it can be done or not… but maybe the error message could link to here, or even just tell folks the workaround ‘for now’ 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I duplicate a gist? - github - Stack Overflow
Unfortunately there is no way to easily duplicate a gist through Github UI. We need to go through these steps: Create the destination...
Read more >
Cloning and the GitHub desktop client
The cloning process involves creating a complete copy of a repository on your local computer. That includes all of the branches in the...
Read more >
Working Copy Users' guide
Working Copy is a full featured Git client for iOS and since Git is a ... Your GitHub Gists and BitBucket Snippets are...
Read more >
GitHub | IntelliJ IDEA Documentation - JetBrains
In the token generation page, make sure that the repo, the gist and the ... Click Generate token, copy the token, and paste...
Read more >
How to Use GitHub gists Effectively - Liquid Web
You can copy your gist's embed code if you want to embed it. ... upload if it detects any on your computer during...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found