Skip to content

Instantly share code, notes, and snippets.

@zmwangx
Last active April 11, 2024 22:22
Show Gist options
  • Star 36 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save zmwangx/bc79e7d95d82c2f5e0976975b6e1c6d6 to your computer and use it in GitHub Desktop.
Save zmwangx/bc79e7d95d82c2f5e0976975b6e1c6d6 to your computer and use it in GitHub Desktop.
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

@James-Ang
Copy link

+1

@ravitejamuddada
Copy link

+1

@ravitejamuddada
Copy link

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

@LindnerBrewery
Copy link

+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.

@joefrancia
Copy link

+1

@gosoccerboy5
Copy link

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

+1

@owocado
Copy link

owocado 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

+1

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

@chang4tech
Copy link

I have the same concern. I need the feature.

@jasper-lai
Copy link

+1

@JadeMin
Copy link

JadeMin commented Apr 30, 2022

+1

@ihidchaos
Copy link

+1

@thanatos
Copy link

lol half a decade later…

Don't worry folks, the feature is coming, and decade now. /s

@larrasket
Copy link

+1

@aditya-kapre-shrewsbury

Need this feature
+1

@RTVRTV
Copy link

RTVRTV commented Aug 10, 2022

+1

@hbthck
Copy link

hbthck commented Aug 11, 2022

+1

@absunth
Copy link

absunth commented Aug 17, 2022

+1

@devidw
Copy link

devidw commented Aug 19, 2022

➕1️⃣

@KevinLiebergen
Copy link

+1

@cblackburn-ajla
Copy link

Not surprised by this. It is clown-world since GH was bought out.

@lohhans
Copy link

lohhans commented Aug 25, 2022

+1

@leandro2222
Copy link

leandro2222 commented Sep 15, 2022

Please put the button back and add a warning message instead.

@DanAlexson90
Copy link

Please put the button back and add a warning message instead.

Whom do you think you are addressing?

@oberrich
Copy link

oberrich commented Oct 6, 2022

I guess GitHub doesn't have talented enough developers who can undertake even complex tasks such as generating a new link when clicking a button.

@alfawal
Copy link

alfawal commented Feb 22, 2023

+1

@blakegearin
Copy link

+1

@souhaibdjaballah
Copy link

+1

@vvasc
Copy link

vvasc commented Mar 3, 2023

+1

@jarekt
Copy link

jarekt commented Mar 18, 2023

+1

@ajdungan
Copy link

+1
....come on github! seriously?!

@caye-telus
Copy link

+1

@cc6580
Copy link

cc6580 commented Jun 27, 2023

+1

@dippas
Copy link

dippas commented Jun 28, 2023

+1

@louis030195
Copy link

+1

@luftaquila
Copy link

+1

@theodric
Copy link

Please put the button back and add a warning message instead.

Whom do you think you are addressing?

THE QUEEN OF ENGLAND, of course

@sahilrajput03
Copy link

Please delete this gist. LOL

@Bruno-366
Copy link

+1

@Vextrov
Copy link

Vextrov commented Aug 1, 2023

+1 please add a button to switch gist privacy with a function that will regenerate file link and show a warning message indicating that link will be changed

@mamiu
Copy link

mamiu commented Sep 8, 2023

+1

@juanfrajberg
Copy link

+1

@jpapazian2000
Copy link

+1

@Keshyu
Copy link

Keshyu commented Nov 17, 2023

+1

Copy link

ghost commented Dec 13, 2023

+1

@CodeShakingSheep
Copy link

+1

@mrtnvgr
Copy link

mrtnvgr commented Feb 26, 2024

+1!

@grishatsuker
Copy link

+1

@Assassin9520
Copy link

+1

@phoriah
Copy link

phoriah commented Apr 11, 2024

+1

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