Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
No longer able to make public gists private — message to GitHub

We've been able to toggle visibility of gists since 2014 (https://github.com/blog/1837-change-the-visibility-of-your-gists), but I just noticed that I can no longer make public gists private. That is, when I edit private gists I still see the "Make Public" button, but not the other way round — there's only a "Delete" button when I edit public gists; the "Make Secret" which should be next to it (as shown in the screencast in the linked blog post) is nowhere to be found. I made a screenshot and a screencast demonstrating the issue, both of which are attached. Could you please confirm this issue? Was this an intentional change, and why? Thank you for your attention.

gist-unable-to-make-secret

![gist-unable-to-make-secret](https://cloud.githubusercontent.com/assets/4149852/16898407/c76db210-4c0b-11e6-9108-0450f1edebb4.gif)

Hi Zhiming,

Thanks for writing in!

We had to remove that functionality because it was misleading. Turning a public gist into a secret one doesn't change the URL, which means anybody with the old public URL can still access it.

We may consider improving this in the future, but for now, you will have to delete the public gist, and create a new secret one with the same content.

Creating a new secret gist gives it a new unique URL. You can share that URL with just the people you want to be able to see the gist.

Please let me know if you have any other issues!

Cheers,
Antonio
GitHub Support

@amit-viacon
Copy link

amit-viacon commented Feb 27, 2021

+1

@DanAlexson90
Copy link

DanAlexson90 commented Feb 27, 2021

Hey Github, any chance we can see this feature added back??

Why not ask GitHub?

@sanjarcode
Copy link

sanjarcode commented Mar 11, 2021

+1
GitHub, are you serious?

@anionDev
Copy link

anionDev commented May 19, 2021

+1

@kleme44
Copy link

kleme44 commented May 23, 2021

+1

@adambenali
Copy link

adambenali commented May 25, 2021

+1

@ans-hub
Copy link

ans-hub commented May 26, 2021

+1

@jablazr
Copy link

jablazr commented Jun 12, 2021

+1

@asraraljuhani
Copy link

asraraljuhani commented Jul 1, 2021

+1

@seeliang
Copy link

seeliang commented Jul 9, 2021

Oh my, I can not believe this

@plehr
Copy link

plehr commented Jul 14, 2021

+1

@James-Ang
Copy link

James-Ang commented Jul 17, 2021

+1

@ravitejamuddada
Copy link

ravitejamuddada commented Jul 23, 2021

+1

@ravitejamuddada
Copy link

ravitejamuddada commented Jul 23, 2021

Hey Github, pls add the feature back ! it is much needed

@tamara-m
Copy link

tamara-m commented Aug 3, 2021

+1

@aarmn
Copy link

aarmn commented Aug 9, 2021

+1

@macces
Copy link

macces commented Aug 16, 2021

+1

@Opfour
Copy link

Opfour commented Aug 19, 2021

+1

@NiKiZe
Copy link

NiKiZe commented Aug 20, 2021

+1

Try to make some noise over at https://github.community/t/make-public-gists-private/196652 as well.

@scaba
Copy link

scaba commented Aug 20, 2021

+1

@gosoccerboy5
Copy link

gosoccerboy5 commented Aug 26, 2021

I agree. Why does Github force us to do the extra work to make a new one? Why do they have to remove the option altogether, why not leave it for us in case we actually do want that functionality?
All they have to do is add a little note about how anyone with the gist link can still see it, and everyone's informed.

@manjeet-github
Copy link

manjeet-github commented Sep 16, 2021

+1

@andrewlimaza
Copy link

andrewlimaza commented Sep 22, 2021

+1 million

@ow0x
Copy link

ow0x commented Sep 22, 2021

+1

@NiKiZe
Copy link

NiKiZe commented Sep 22, 2021

This is just zmwangx's gist where the message with support was documented

Complaints here does not reach GitHub support in any way.

There is https://github.community/t/make-public-gists-private/196652 and maybe also other places where this is better to report/request?

@DaCuteRaccoon
Copy link

DaCuteRaccoon commented Mar 16, 2022

+1

GitHub, seriously? You can just make a function to reset the link.

@chang4tech
Copy link

chang4tech commented Apr 1, 2022

I have the same concern. I need the feature.

@jasper-lai
Copy link

jasper-lai commented Apr 27, 2022

+1

@JadeMin
Copy link

JadeMin commented Apr 30, 2022

+1

@IHIDCHAOS
Copy link

IHIDCHAOS commented May 7, 2022

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment