2 ms·
Oh I like the web version! I just hooked up the web app to my _public_ blog repo, and started editing the markdown files. Hit save and it automatically perform
by reacharavindh 2y ago
Oh I like the web version!
I just hooked up the web app to my _public_ blog repo, and started editing the markdown files. Hit save and it automatically performs a git commit on my behalf. Perfect. Next time I'm working on the files locally, all I need is a git pull and I am good to go. I like it.
Although I didnt quite like that it asked for a permission to pretty much _everything_ in Githuhb - public and private repos, deploykeys?!, everything. I wish that were customisable. It was okay for me because I dont keep any non public code in Github, but others might have..
- kseistrup 2y agoThe FAQ has the following instructions for more fine-grained access control: > To accomplish this scenario select generic Git notebook provider (instead of GitHub) and for the password field put fine-grained personal access token which can be generated to have access only to certain repositories.
- amimetic 2y agoI tried this and doesn't seem to work; though unclear what permissions I should be granting it, so possibly that is the issue.
- alex-titarenko 2y agoYou need only "Contents" Read and write permissions. Make sure when you generate fine-grained personal access tokens on the following page: https://github.com/settings/personal-access-tokens/new https://github.com/settings/personal-access-tokens/new you select your desired repo (because it defaults to public repos and that will not work).
- alex-titarenko 2y agoUnfortunately, GitHub does not provide that granularity for developers. That is way you have an alternative option as general Git provider where you can use fine-grained access token.