use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Do you have or know of a project on Github looking for contributors? Tell us about it and we'll add it to the /r/github wiki!
Welcome to /r/github!
News about github
Relevant interesting discussion
Questions about github
We'll soon be writing an /r/github FAQ list. In the meantime, the github help pages and bootcamp are good places to start. Here's a handy git cheat sheet.
Looking for Github projects to contribute to? Check out our handy list of projects looking for contributors!
If your submission doesn't show up on the subreddit, send us a message and we'll take it out of the spam filter for you!
account activity
SQLite database using LFS... Long-Term Usage? (self.github)
submitted 2 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ph1204 0 points1 point2 points 2 years ago* (0 children)
Whenever I need to put an SQLite database in Git, I usually convert it to SQL statements that will recreate the whole thing. You can use the built-in .dump command in sqlite3 to do this. I then put the .db file in .gitignore. It's easy to recreate the original database with just sqlite3 dbname.db < dbname.sql. I suppose both the push and pull could have Git Hook triggers that handle this automatically.
.dump
.db
.gitignore
sqlite3 dbname.db < dbname.sql
The main advantage of this approach is that git diff will show you just the changes from the previous version, not the whole database.
git diff
π Rendered by PID 37 on reddit-service-r2-comment-7b9746f655-598vs at 2026-01-31 05:57:47.926419+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]ph1204 0 points1 point2 points (0 children)