git-cache-tag
dura
Our great sponsors
git-cache-tag | dura | |
---|---|---|
2 | 11 | |
0 | 4,250 | |
- | - | |
0.0 | 1.4 | |
over 1 year ago | 7 months ago | |
Shell | Rust | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
git-cache-tag
-
Dura: You shouldn't ever lose your work if you're using Git
Oh wow, this seems pretty similar to this thing I wrote: https://github.com/unqueued/git-cache-tag
Which saves all uncommitted changes to a tag.
I wrote it because I wanted to have a complete snapshot of a build context. Sometimes composer or npm can't be relied upon to reproduce dependencies in the state they used to be, or I just want a cache of artifacts. It has been pretty handy.
-
Why you should check-in your node dependencies
I think that having rapid access to node_modules can be very helpful sometimes. The solution I came up with was this:
https://github.com/unqueued/git-cache-tag
It copies all untracked stuff (including node_modules) into a leaf tag. It is fairly easy to manage them, or find the latest one. And because they are leaves, they can be pruned and completely garbage collected when they aren't useful anymore.
I have been burnt many times by npm, and I use this script to guarantee that I have a stash of my node_modules, while also keeping my project small.
And I have diffed different snapshot tags to see which module changed that broke something.
And by leaving everything in unaltered text, it exposes it to git which does a great job at compression stuff, especially highly differential revisions of my node_modules.
A 500M node_modules from one of my projects only weighed about 100M extra, even with several snapshots. And I can just delete them anyway.
I need to work on it a lot more, it was just a quick and dirty solution when I had to work with React Native a few years ago.
dura
-
Script for creating snapshot commits on a not checked-out branch without touching the working tree
This is just a tiny Bash script, but I feel like it might be useful to someone other than myself. It's basically a poor man's Dura (https://github.com/tkellogg/dura) that is triggered manually instead of using a background process and a timer.
-
Autosaved puts an end to the developer anxiety caused by uncommitted Git changes
There is an existing alternative called Dura by the way. https://github.com/tkellogg/dura
-
Utility that autosaves uncommitted changes in your Git repositories so that you don't accidentally lose them
A very similar utility, Dura, was posted last week on Hacker News. Not sure if it does the exact same thing, but FYI https://github.com/tkellogg/dura
-
Dev Genius: Have you head of Dura yet? 2022's upgrade for Git
If you'd prefer, directly check out Dura's GitHub repo here:
https://github.com/tkellogg/dura
- Dura
- Dura - Your Personal Git Safety Net
- GitHub - tkellogg/dura: You shouldn't ever lose your work if you're using Git
- Dura is a background process that watches your Git repositories
- dura - You shouldn't ever lose your work if you're using Git
What are some alternatives?
cli - the package manager for JavaScript
git-autosave - An experiment in automatically backing up the working directory in a git repository whenever a file changes.
go-offline-maven-plugin - Maven Plugin used to download all Dependencies and Plugins required in a Maven build, so the build can be run without an internet connection afterwards.
git-sync-changes - Collaborative editing for git repositories
depclean - DepClean automatically detects and removes unused dependencies in Maven projects (https://dx.doi.org/10.1007/s10664-020-09914-8)
local-history - local-history for vscode
git-archive-all - git-archive with recursive submodule support
git-snap - Create snapshot commits on a not checked-out branch without touching the working tree or losing staged changes
devtools-frontend - The Chrome DevTools UI
autosaved - Never worry about losing your code. Written in Go
hiai - High Integrity Artificial Intelligence Systems
Caddy - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS