How can you create GitHub gists that live under an organization account instead of a personal account?

35.2k views Asked by At

I manage an organization https://github.com/marklogic. I see we actually have one gist under https://gist.github.com/marklogic/ ; I can't figure out how to get any more gists there though. Is there a way?

2

There are 2 answers

3
strivedi183 On BEST ANSWER

I don't think you can currently create gists as an organization account, but in my experience, if your account was a personal account and you created a gist under that account and then upgraded the account to an organization account, the gist stays but no new gists can be created.

Also, seems like this answer on WebApps confirms my experience.

2
arp On

Short answer - No, you can't do it yet.

Workaround

  1. Create a repo called gists in your organization and commit all gists in that repo.
  2. Create a team with all developers, allocate the gists repo to the team so that everyone has access.