Embed presentation
Download as PDF, PPTX









![10
Create data
$echo '{"id": 1, "name": "Somkiat", "age": 30}' > 1.json
$git add 1.json
$git commit -m "Create new person"
[master (root-commit) c1809c0] Create new person
1 file changed, 1 insertion(+)
create mode 100644 1.json](https://image.slidesharecdn.com/git-as-nosql-161105111639/85/Git-as-NoSQL-10-320.jpg)


















This document discusses using Git as a NoSQL database to store and retrieve data. It shows how to initialize a Git repository, add JSON documents as files, commit the changes, and then retrieve the data by filename or hash. The document demonstrates basic CRUD operations for storing key-value pairs using Git, and notes that Git can provide features commonly found in NoSQL databases like speed, transactions, concurrency, backup, and replication capabilities.









![10
Create data
$echo '{"id": 1, "name": "Somkiat", "age": 30}' > 1.json
$git add 1.json
$git commit -m "Create new person"
[master (root-commit) c1809c0] Create new person
1 file changed, 1 insertion(+)
create mode 100644 1.json](https://image.slidesharecdn.com/git-as-nosql-161105111639/85/Git-as-NoSQL-10-320.jpg)
















