I have my own private notes
repository where I sometimes create research threads. Occasionally I want to transfer these to a public repository to publish their contents.
You can't transfer an issue from a private repository to a public repository.
I found this workaround:
- Create a new private repository. I called mine
simonw/temp
- Transfer the issue from your original repository to this new temporary repository
- Use the "Settings" tab in the temporary repository to change the entire repository's visibility from private to public
- Transfer the issue from the temporary repository to the public repository that you want it to live in
You can perform transfers using the web interface, but I also learned how to do it using the gh
tool.
Install that with brew install gh
Then you can run this:
gh issue transfer https://github.com/simonw/temp/issues/1 simonw/datasette-tiddlywiki
I used this trick today to transfer simonw/datasette-tiddlywiki#2 out of my private notes
repo.