I'm trying to create a basic GIT web UI for GIT bare repos which allows edit (only) of existing files.
For example, considering these two cases:
- /dir-a/dir-b/dir-c/a-file.txt
- /a-file.txt
How could I use the Git low level plumbing commands to save the edits? Also, I'm using Grit
, not sure if it provides a shortcut to do this.