I wonder if there is a js library of some sort dedicated to working with Git. Particulary I'm interested in the following js-git interface:
I guess I can give it a different spin:
Are there modern javascript libraries for this kind of things? Thanks.
jsgit seems to be the most widely used implementation.
BTW I would suggest having a backend (node.js + Express eg) that talks with the git repository.
Not sure if you can make git
changes from js, but you can definitely do the following:
git apply
git apply from-browser.patch
Note: I'm not a 100% sure that the formats would be compatible out of the box, so that's something you'd need to check.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.