1

I have a project in github. https://github.com/phantom111/gc . I want to write some code in the same project, to update the json file within the data folder. How to do this in js/jquery ?

1 Answer 1

1

You can't do this in a browser as github does not allow CORS. However, using a node.js backend of course you can checkout your code, manipulate it, commit and push to github. Maybe something like this works for you: https://github.com/creationix/js-git

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.