Version control without Git
itoshkov.github.io
Version control without Git
1–10 of 68 posts
Re: Version control without Git
#2> In this tutorial I’ll try to describe how git works, without using git. Instead, we’ll create a simple, git-like system using just zip files, diff, and patch.
Pretty neat! Could probably make some simple shell scripts from the examples shown, not-git-status, not-git-commit, etc
Re: Version control without Git
#3You can simulate git via:
mkdir v2 ; cp -rp v1 v2
Re: Version control without Git
#4You can simulate git via: mkdir v2 ; cp -rp v1 v2
Cool now do a git blame
git push? git rebase?
Re: Version control without Git
#5After understanding the content of this blog post, I'd recommend reading the "Internals" chapter of the Git documentation (most of us don't use many of the available "plumbing" commands) - https://git-scm.com/book/en/v2/Git-Internals-Plumbing-and-Po....
Re: Version control without Git
#6Title is horribly incorrect.
Simulating git would be more appropriate.
I expected this to be a look at other version control systems around today. It's yet another 'let's recreate git from scratch, kinda' post.
Re: Version control without Git
#7You can simulate git via: mkdir v2 ; cp -rp v1 v2
I think a closer example at the filesystem level would be
rsnapshot alpha
rsnapshot [1] uses hard links when it can to create a delta of changed files. Reverting can be done with rsync or cherry picking files. git blame would have to be done via something like auditd and syslog and nowhere near as easy as using git. I use rsnapshot to back up my git repos in the event they get corrupted.Re: Version control without Git
#8Can't believe I just got rickrolled from a hackernews post
Re: Version control without Git
#9I can't believe people spent time doing this and they eventually published it.
Re: Version control without Git
#10Am I missing something or why does the author repeatedly misspell —recursive as —recusive?